Translate Frisbii labels and custom labels

Prev Next

Linda and Vijay are almost at the end of their PDF template redesign.

Now, Linda wants to anticipate the international development strategies that may be brewing in the mind of José, the sales manager. It therefore prefers to plan ahead for the English-language generation of the template.

For your information, the same Visualforce page can be used to generate an invoice PDF in one language or another, without the user having to change his or her own language. To do this, use the language field available on the Invoice. There's no need to duplicate the Visualforce page.
The PDF translation is based on the translation of the source fields in Salesforce. That's what Linda will do below.

Activate the translation system

In Salesforce, the translation system must first be activated.
Here are the steps to follow.

Steps

1. Go to in Setup, type in the translation search bar.
2. Click on Translation Language settings.
3. Then click on the Activate button.

4. Click on Edit for both languages.

5. Check the Active box.
6. Choose a translator from the available list , then click on the Add button.

7. Click on the Save button.

Voilà! Linda is a translator for both languages.

Translate custom labels

We recall that Linda created three custom labels that she now wishes to translate.

Steps

1. Go to Setup, type in your personal search bar.
2. Click on Custom labels.
3. Then click on the Name of your label.

4. Then click on the New button.
5. Then choose the language from the English drop-down list.
6. Add the Translation text.

7. Click on the Save button.

Tip: We recommend that you always add a translation when creating the label - if you intend to use the English version of your PDF. If you don't know exactly what you want to put, add <!--A TRANSLATION-->. This will allow you to see in the PDF of the invoice or quotation what remains to be translated.

Linda has translated all her custom labels. Now she wants to make her PDF even better.

Replace Frisbii field labels

Linda finds the Footer Discount Rate label a little long. She would prefer to display only a discount rate.

image

Vijay explains that she can add another French translation to replace the application label. Linda wants to understand this process.

Steps

1. Go to in Setup, type in the translation search bar.
2. Click on Override.
3. Then go to Select filter criteria:

  • Package : Frisbii

  • Language : 'Language supported by Frisbii' (English or French)

  • Setup component : Custom field

  • Object: The Frisbii object concerned

  • Aspect : Field label

4. Navigate the list using the arrows at the bottom.
5. Double-click in the empty field of the Field Label Override column and enter the new value.

6. Then click on the Save button.

Here's the result in PDF :

Note: You can also translate/replace other elements such as associated list labels, buttons and actions, list values etc. using this procedure or the next.

Translate Frisbii field labels

In order to anticipate José's questions as much as possible, Linda asks Vijay how to set up translations in other languages not supported by the Frisbii application.
If you'd like to translate Frisbii into a language not supported by the application, here are the steps to follow:

Steps

1. Go to Setup, type in the translation search bar.
2. Click on Translation settings.
3. Click on the Add button.


4. Select Language.
5. Check the Active box.
6. Identify translators of this language.
7. Click on the Save button.
  Now that the new language has been added to the Salesforce translation system, let's get on with the translation.
8. Click on Translate in the left-hand navigation.
9. Select filter criteria:

  • Language : 'Language not supported by Frisbii'.

  • Setup component : Custom field

  • Object: The Frisbii object concerned

  • Aspect : Field label


10. You can then enter translations in the Field label translation column.

Note: For easier translation, you can also Export the fields to be translated in CSV format and then Import. Please see this Salesforce article Exporting translation files.

The rest of the adventure

Hooray, the Cloud Kicks team finds the new invoice model sublime!
After celebrating this great start, Candace, José and Linda get down to business.
Curious about how Frisbii's configuration continues? 
Let's find out together in the section of your choice.