Create Translation Resource Files for the Target Languages
Create a report design file.
To enable automatic label translation in Report Designer, you must create a resource file that
associates keys with text in the default locale language. You also require resource
files that provide text for those keys in your target languages. Each target
language must have a resource file.
- To create a resource file, select . Expand theGeneralnode and selectUntitled Text File.
- Add keys to the text file in the formatKey=Value, whereKeyis the name you want to give to the resource key andValueis the appropriate text in the target language. Give each new key its own line in the text file.You must provide a key pair for each key pair in the original language, as defined intranslations.properties.
- Save the text file in the relevant project folder with the filenametranslations_[locale_id].properties, where[locale_id]is the IEFT code for the target language. Example:translations_fr_FR.properties.You don't need to associate target language resource files with your report design. When you add the source language resource filetranslations.propertiesfile, Report Designer automatically picks up the others.
The following text is an example of a
translation_fr_FR.properties
resource file's contents:Dear=Cher
Congratulations=Félicitations pour rejoindre notre équipe. Nous sommes ravis de vous
avoir!
Terms=Votre emploi avec notre société comprend les éléments suivants modalités
convenues:
Date_Of_Hire=Date d'embauche:
Business_Title=Titre Affaires:
Manager_Name=Nom du gestionnaire:
Organization=Organisation:
Location=Emplacement:
Base_Pay_Amount=Montant du Salaire de Base:
Hire_Advice=S'il vous plaît noter que votre travail avec la Société sera «à volonté»,
ce qui signifie que vous ou la Société peut mettre fin à votre contrat de travail à
tout moment, pour n'importe quelle raison ou sans raison, avec ou sans préavis. Il
n'ya pas de promesse par la Société que votre emploi se poursuivra pendant une
période de temps définie ou que votre emploi sera terminé que dans des circonstances
particulières.
Sincerely=Sincèrement,