Add a new language

You can customize the Designer to use different languages. To add a new language:

  1. Add a new language in the Designer UI: Settings > Global settings > languages using the correct pattern: localCode_countryCode. For example: pt_PT for Portuguese, ru_RU for Russian, and so on.
  2. If the collections have not been deployed, deploy all the collections to the Repository. Otherwise, deploy Settings on the default application.
  3. Add a new dictionary in the Designer UI: Dictionaries > create new dictionary. Call the new dictionary datastore and add the following messages to the new languages:
  4. language.localCode_countryCode.label=LanguageLabel
  5. Example, for Portuguese:
  6. language.pt_PT.label=Portuguese
  7. In all existing dictionaries, add the following message with the label of the new language: language.localCode_countryCode.label=LanguageLabel
  8. Deploy the dictionary datastore on the admin application.
  9. In the Repository console, execute the following command : exportComponentDictionaries -c datastore tempFolder.
  10. The available languages from the application are stored in the temp folder.
  11. Copy all the message from the file tempFolder/dictionary/english/datastore.properties into the file tempFolder/dictionary/localCode_coutryCode/datastore.properties. Translate all messages to the new language.
  12. Caution Check that you have only one key language.icon in your file.
  13. In the Repository console, execute the following command:
  14. openApplication admin
  15. importDictionaries tempFolder
  16. In Designer, update all the xxx_ObjectDictionary and xxx_CollectionDictionary and add the messages in the new language.
  17. Deploy the dictionaries on the default application.
  18. Restart the Web server, empty the cache of the browser and log into Datastore Client.
  19. The new language is available.

Related topics

Internationalize reports

Related Links