Results 1 to 5 of 5

Thread: add custom label in language packs

  1. #1
    ericchaves is offline Member
    Join Date
    Sep 2009
    Posts
    10

    Default add custom label in language packs

    Hi folks,

    I've made some customizations in prospects via Studio (added fields and rearranged panels) and later I installed a language pack. The problem is that since the language pack does not "know" my custom fields, all views are using the custom label name like "LBL_CUSTOM_FIELD".

    In order to fix it I'd tried to edit the labels in the studio but the custom labels only shows up in english and therefore I cannot edit it. How could I manually add those new labels to language pack so I could edit them?

    Best regards,

    Eric

  2. #2
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: add custom label in language packs

    Hi I can say how to edit the label manually.
    What language pack do you use?
    Letrium ltd. - Only high quality service
    http://letrium.com

  3. #3
    ericchaves is offline Member
    Join Date
    Sep 2009
    Posts
    10

    Default Re: add custom label in language packs

    Hi Alex,

    I'm using the brasilian language pack.

    Thanks in advance and happy new xmas.

  4. #4
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: add custom label in language packs

    Hi Eric,

    For module Prospects you should edit file pt_br.lang.php


    if exist
    '/modules/Prospects/language/pt_br.lang.php'
    else
    '/custom/modules/Prospects/language/pt_br.lang.php'

    Then rename this folder '../cache/modules/Prospects' to '../cache/modules/Prospects1'
    Last edited by AlexAv; 2009-12-25 at 02:27 PM.
    Letrium ltd. - Only high quality service
    http://letrium.com

  5. #5
    ericchaves is offline Member
    Join Date
    Sep 2009
    Posts
    10

    Default Re: add custom label in language packs

    Thanks for the help, Alex.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. about language packs
    By vishwasrao in forum Developer Help
    Replies: 1
    Last Post: 2009-01-15, 02:57 AM
  2. Language Packs..please help
    By ehelm in forum General Discussion
    Replies: 0
    Last Post: 2006-03-27, 08:17 PM

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
  •