function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ThejaTheja 

Value in custom label changes for different Translations

Hi All,

My company supports 10 languages. I'm facing a situation where I have to display some info on page for example 'abcdefghijklmnop for 1234567' . But when this entire sentence is translated to chinese it's like ' 併至序列號1234567的資產一行'. I've used a custom label for the text 'abcdefghijklmnop for'  and I've used a variable for '1234567'. So how can I achieve the translated text? Appreciate your help.

Thanks
Theja
NagendraNagendra (Salesforce Developers) 
Hi Teja,

Please use custom label and Translation Workbench | Salesforce  

-  Enable the translation workbench with the languages you require.
-  Create Translations for objects and fields

Navigation: Setup  > Translation workbench > Translation settings

Adding Translated Languages and Translators

To add or edit translated languages and translators:
      1. From Setup, click Translation Workbench -> Translation Settings.
      2. Click Add to activate a new language or Edit to change an existing supported language.
      3. If adding a new language, choose a language.
      4. To make the entered translations available to your users - select Active. Users can change their personal language anytime whether or not it's active in the Translation Workbench. Selecting Active makes the translations available to the users in that language.
        Tip: We recommend you don't make a language active until the translators have translated all values.
      5. To assign translators for this language, select them from the Available List and click Add. If you don’t see the member you want to add, enter keywords in
      6. Click Save

Please refer below blog for step by step process:- Hope this helps.

Please mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Thanks,
Nagendra