Results 1 to 8 of 8

Thread: Primary Address

  1. #1
    andtrds is offline Member
    Join Date
    May 2010
    Posts
    9

    Default Primary Address

    Hello guys

    I would like to ask how to change the labesl of Primary Address fields for example insted City to make it Village..can i do this?

  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: Primary Address

    You need to create an extended language for the module and update the label for the language entry:

    LBL_PRIMARY_ADDRESS_CITY

    PHP Code:
    $mod_strings['LBL_PRIMARY_ADDRESS_CITY'] = 'Village'
    Then go to Admin -> Repair -> Rebuild Extensions

    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
    malene.holm is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    10

    Smile Re: Primary Address

    Hi there,

    thanks for that I can use that too.
    But by "create an extended language for the module " do you mean installing a new language pack or what?

    sorry I'm a newbie...

    Kind Regards,
    Malene

  4. #4
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Primary Address

    Hello,

    You have to create file under

    custom/Extension/modules/<MODULENAME>/Ext/Language/en_us.<UNIQUE_IDENTIFIER>.php
    and paste the code mentioned.

    Then run Quick Repair & Rebuild.
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

  5. #5
    malene.holm is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    10

    Default Re: Primary Address

    So does that mean that there is not only one place/file that contains the labeling for the fields that are shown over several modules?

    Thanks,
    Malene

  6. #6
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Primary Address

    Hello,

    No, all modules have their own language files which you can extend by the way I explained.

    There is a common file include/language/en_us.lang.php which contains the labels common over modules and definition of dropdowns. Which can be extended by putting the file into custom/include/language/en_us.lang.php
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

  7. #7
    angelababy is offline Banned
    Join Date
    Jul 2010
    Posts
    60

    Default Re: Primary Address

    Hi
    Thank you for this very useful informations.

  8. #8
    malene.holm is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    10

    Smile Re: Primary Address

    Yes Thank you for that.

    Kind Regards,
    Malene

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Primary email address mass update?
    By glynd in forum Help
    Replies: 3
    Last Post: 2010-05-19, 11:58 AM
  2. Query Email Address Primary
    By dvelguru in forum Developer Help
    Replies: 2
    Last Post: 2009-11-09, 02:50 PM
  3. Replies: 11
    Last Post: 2009-08-16, 09:39 PM
  4. sugar saves spaces in Primary address
    By maus in forum Developer Help
    Replies: 2
    Last Post: 2008-10-22, 08:40 AM
  5. Change of Primary Address
    By Don in forum Feature Requests
    Replies: 0
    Last Post: 2005-02-24, 05:03 AM

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
  •