Results 1 to 5 of 5

Thread: Email Folders dissapears if I edit a language file

  1. #1
    AEtech is offline Junior Member
    Join Date
    May 2010
    Posts
    3

    Exclamation Email Folders dissapears if I edit a language file

    Hi

    I'm using a 5.2.0j Sugar Version, and I had instaled two language packs: Spanish and Catalan.

    If I edit the file en_us.lang.php located in <Sugar_name> \custom\include\language\ then the Email module fails. I can't see Emails folders and the content of dropdowns at Settings button.

    The only changes i do in this file is: to agregate a simple blank space, then I remove it and finally save the changes.

    It happens in any language file(en_us,es_es,cat_cat) of this directory I mentioned previously.

    I would know if this files must not be edited or if it's a bug. Thanks a lot

    Regards Oriol

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Email Folders dissapears if I edit a language file

    Some ajax features fail if there are blank spaces on some language entries.
    You can edit then in order to setup some translation, but adding blank space is not a good idea.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    AEtech is offline Junior Member
    Join Date
    May 2010
    Posts
    3

    Default Re: Email Folders dissapears if I edit a language file

    Hi Andopes

    But I delete the blank space before save the changes, so the files is exactly equals.

    Anyway, I tried to edit ony some translation, as yo said, but the problem already exists.

    For example:

    I create a simple list,with label and values like: 1 = 1, 2 = 2 and 3 = 3. Then I go to custom\include\laguage\en_us.lang-php and made this changes:

    $GLOBALS['app_list_strings']['example']=array (
    1 => '1',
    2 => '2',
    3 => '3',
    );


    to


    $GLOBALS['app_list_strings']['example']=array (
    1 => '1',
    2 => '2',
    3 => '4',
    );


    Then I save the changes. I go to Email module and the Email Folders disappears.


    Regards Oriol

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Email Folders dissapears if I edit a language file

    Go to Admin -> Repair -> Rebuild Javascript Languages

    And try again.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    AEtech is offline Junior Member
    Join Date
    May 2010
    Posts
    3

    Default Re: Email Folders dissapears if I edit a language file

    Hi Andopes

    I did it, but it still doesn't work.

    Few months ago I tried to fix it with an employer of the sugar distributor company, but we couldn't resolve. The only solution we found was to start again the sugar application. But if I try to transfer the custom language directory to the new sugar, then it also will fail.


    Regards Oriol

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cannot see My email folders in 5.1.0 a CE
    By jonaslagneryd in forum Help
    Replies: 1
    Last Post: 2010-10-16, 08:20 PM
  2. Replies: 1
    Last Post: 2010-01-21, 09:04 PM
  3. Email Folders
    By Proware in forum Feature Requests
    Replies: 0
    Last Post: 2006-04-28, 12:40 PM
  4. Replies: 1
    Last Post: 2006-04-04, 03:01 PM
  5. Email Folders
    By kyl37 in forum Help
    Replies: 0
    Last Post: 2006-03-13, 08:24 AM

Tags for this Thread

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
  •