Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Create Translation Resource Files for the Target Languages

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.
  1. To create a resource file, select
    File
    New
    Other...
    . Expand the
    General
    node and select
    Untitled Text File
    .
  2. Add keys to the text file in the format
    Key=Value
    , where
    Key
    is the name you want to give to the resource key and
    Value
    is 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 in
    translations.properties
    .
  3. Save the text file in the relevant project folder with the filename
    translations_[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 file
    translations.properties
    file, 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,