Results 1 to 9 of 9

Thread: Changes to language file en_us.lang.php not reflected

  1. #1
    nat8100 is offline Senior Member
    Join Date
    May 2009
    Posts
    27

    Default Changes to language file en_us.lang.php not reflected

    I am trying to change the browser title.

    I have modified the file includes/language/en_us.lang.php

    line: 'LBL_BROWSER_TITLE' =>'Title here',

    The permissions on the file are set to 777 so I override it fine, but no changes I make are reflected online. The browser title still reads 'SugarCRM'

    I have also changed some of the tab labels through admin, so 'accounts' now reads 'client accounts', yet the language file still says 'accounts'

    Where is sugar getting these definitons from? It is a fresh install of Version 5.2.0e. Where is the language file referenced from?

    I hope someone can point me in the right direction... I'm sure I'm missing something here! Thank you in advance.

  2. #2
    nat8100 is offline Senior Member
    Join Date
    May 2009
    Posts
    27

    Default Re: Changes to language file en_us.lang.php not reflected

    Ok so I have changed the title from the admin>system settings. I am still curious to know why I can't make changes direct to the language file though.

  3. #3
    tomkerswill is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    58

    Default Re: Changes to language file en_us.lang.php not reflected

    You need to run a Quick Repair in the admin page -- that goes through and pulls in the changes from all the language files, etc.

  4. #4
    Sugar5 is offline Sugar Community Member
    Join Date
    Jan 2011
    Posts
    16

    Default Re: Changes to language file en_us.lang.php not reflected

    I made a change to my en_us.lang.php file by adding a new value for the Industry_dom dropdown.

    But, even after doing a "Quick repair and rebuild", the change is not reflected on the Industry dropdown (or the dropdown editor) in the SugarCRM page.

    Can someone suggest what could be wrong? I am using sugarcrm version 6.

    Thanks.

  5. #5
    eitrix's Avatar
    eitrix is offline Sugar Community Member
    Join Date
    Aug 2010
    Location
    Serbia
    Posts
    396

    Default Re: Changes to language file en_us.lang.php not reflected

    maybe you have caching on your php enabled so the stuff is cached and it's not refreshing.
    CRM Software Engineer
    Eontek - www.eontek.rs

  6. #6
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: Changes to language file en_us.lang.php not reflected

    This label could also be defined in some custom file , which have preferece over the standard one. Maybe you can look at file custom/includes/language/en_us.lang.php or make a search for string 'LBL_BROWSER_TITLE' over the files under custom folder. Once you find it, is just change it there and repair/rebuild your sugar.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  7. #7
    Sugar5 is offline Sugar Community Member
    Join Date
    Jan 2011
    Posts
    16

    Default Re: Changes to language file en_us.lang.php not reflected

    Thank you, eitrix and rafael.

    How do I disable caching?

  8. #8
    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: Changes to language file en_us.lang.php not reflected

    Go to Admin -> System Setting
    Click checkbox Developer Mode.

    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.

  9. #9
    Sugar5 is offline Sugar Community Member
    Join Date
    Jan 2011
    Posts
    16

    Default Re: Changes to language file en_us.lang.php not reflected

    Thank you, Andre.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Parse Error: en_us.lang.php
    By sedilson in forum Help
    Replies: 4
    Last Post: 2008-05-28, 06:22 PM
  2. Bug? custom/include/language/en_us.lang.php
    By kmitz in forum Developer Help
    Replies: 2
    Last Post: 2007-11-03, 12:33 AM
  3. Replies: 3
    Last Post: 2007-11-01, 03:08 PM
  4. Replies: 3
    Last Post: 2006-10-04, 06:28 PM
  5. Replies: 3
    Last Post: 2006-08-09, 01:39 PM

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
  •