Translation Workbench | Salesforce
ü Enable the translation workbench with the languages you require.
ü Create Translations for objects and fields
Enable the translation work bench
Navigation: Setup > Translation workbench > Translation settings
Note: In a Developer organization with a managed package containing translations, once the Translation Workbench is enabled, it can't be disabled.
Note: The “Manage Translation” permission is enabled by default in the System Administrator profile.
To disable the Translation Workbench, from Setup, Translation Workbench -> Translation Settings -> Disable
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 the search box and click Find.
6. Click Save
Entering Translations and Overrides
- Click Translation Workbench -> Translate to translate customizations made to your Salesforce organization or Translation Workbench -> Override to override translations from managed packages.
- If you are overriding translations in managed packages, select the Package you are overriding.
- Select the Language you're translating into.
- Select a Setup Component. Click the pull-down menu to select from the list of translatable customizations. See Translatable Customizations for a complete list of possible customizations.
- If necessary select an object and aspect. For example, workflow tasks have an object (Account, Contact, etc.) and aspect (Subject or Comment).
- Double click in the translation column to enter new values. You can press TAB to advance to the next editable field or SHIFT-TAB to go to the previous editable field.
- Click Save
How to see the Translation
Navigation: My settings > Personal > Language & Time Zone
Change the language in the below screen and verify the localized text which is entered
Best Practices for the Translation Workbench
To make the Translation Workbench most effective, administrators should:
- Let translators know which languages they are responsible for translating.
- Notify all translators when new translated components are added to your organization.
- Advise users when customizing reports or list views to use filter criteria values in their personal language.
However, if they use the Starts With or Contains operators, advise them to choose the language of
the filter criteria values they entered.
Localize and Customize Labels and Messages of Visual Force Pages
The following steps are required for localize the labels
- Enable the translation workbench with the languages you require.
- Create labels for all the localizable text on the page.
- Replace the page text with the labels.
- Add a translation for each label.
- Change your profile language to test
Translate and Customize Labels
Navigation: Setup > Create > Custom Labels
Click on new custom label
Accessing custom label in the visual force page
<apex:page controller="TranslationWorkbenchDemoController">
<h1>{!$Label.Welcome}</h1>
</apex:page>
Accessing Custom label in the apex classes
ApexPages.addmessage(new ApexPages.message(ApexPages.severity.INFO, Label.Welcome ));
will this work if I have a different namespace?
ReplyDeleteYes, Just Try to follow all above Step. It will work with namespace also
Deletetest
ReplyDeleteÜbersetzungsbüro englisch You make me wish I had time! I'm one of those rare foreigners who make it the advanced stages of Korean. Oh well. =(
ReplyDeleteGreat :-)
ReplyDeleteEnter your comment...
ReplyDeleteHi Amit, I have followed the above steps for adding French language but under Translation Workbench -> Override (to override translations from managed packages) i dont see french language as optiob for Apttus CLM application.
ReplyDeleteIs there any step i need to see french language as an option for translation.
Please advice.
Hi Amit,
ReplyDeleteI need to send email to SSO user's.will this work.
Please advice