Results 1 to 5 of 5

Thread: Tabname and Translation

  1. #1
    edvsw is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    Wetzlar, Germany
    Posts
    23

    Default Tabname and Translation

    Hello
    I'm a total Sugar-Noob, my chef want to use sugar in the near future and assigned me to look how (good) it works

    I'd like to know, which files I have to configure eg in new Modules like ModuleBuilder or DocMerge before uploading. I'm using the german ge_ge-Langpack. Am I right if I make a copy of every us_en-Langpack in the different directions, rename it with "ge_ge.lang" and translate the existing (like this 'LBL_CONVERTED'=> 'Converted', -----> 'LBL_CONVERTED' => 'Umgewandelt' ,). Is this enough?

    Other question
    I made a new module with the module Builder (works very good), but if I change my language to 'Deutsch', I can't see the name of the new module at the tab and not as title at the subpanel, I think it's because of the missing translation in the language pack. Which is the file, that I have to change to see the tab-name?

    Susanne
    Germany (sorry for my bad english ;-) )

    Using sugar 4.2.1b with WinXP (interim solution)

  2. #2
    balth is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    23

    Default Re: Tabname and Translation

    Up,

    I use Sugar CE Version 5.0.0d and I have the same problem...2 years after
    When I publish a new module it works fine, in English, but when I use French language, panel have no name (but exists and show what I want to see....)

    Does someone have the solution?
    Thanks in advance.

  3. #3
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Tabname and Translation

    Quote Originally Posted by balth
    Up,

    I use Sugar CE Version 5.0.0d and I have the same problem...2 years after
    When I publish a new module it works fine, in English, but when I use French language, panel have no name (but exists and show what I want to see....)

    Does someone have the solution?
    Thanks in advance.
    Hi.
    having on your Sugar an additional language pack is not enough,
    because when you build and deploy a module, you do so using a certain language (en_us, fr_fr, es_es, etc..)
    What you have to do next is translate labels of the module.
    To do so, go in Admin->Studio->Module_Name->Labels; there select french language and translate the labels.
    What do you think the cookie monster eats ?

  4. #4
    ToniFatec is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    64

    Default Re: Tabname and Translation

    To change the name of a module in the "Tab" :
    <bashpath>/custom/application/Ext/Language/en_us.lang.ext.php
    in your case if there is no germany file in there you need to create one
    <bashpath>/custom/application/Ext/Language/ge_ge.lang.ext.php

    There should be a line like: $app_list_strings["moduleList"]["YOUR_MODULE_NAME"] = 'Write here the module name';

    To change the name of the module that appears in a sub-panel (the "child" module) you need to check the language file of the "father" module and them be sure the the "subpaneldefs.php" of the father module is using it.

  5. #5
    balth is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    23

    Default Re: Tabname and Translation

    Thanks for answer, it works

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •