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. You can also add a flag representing the country language. To add a flag, copy a 16x16 pixel image in the directory:[Installation_Path]/Datastore/DatastoreClient/war/dsapp/css/axway/assets/icons for Datastore.
  4. The name of the image must follow the correct pattern: axw-ais-localCode_countryCode.png. For example, for Portuguese: axw-ais-pt_PT.png.
  5. 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:
  6. language.localCode_countryCode.label=LanguageLabel
  7. language.icon= localCode_countryCode.png
  8. Example, for Portuguese:
  9. language.pt_PT.label=Portuguese
  10. language.icon= pt_PT.png
  11. In all existing dictionaries, add the following message with the label of the new language: language.localCode_countryCode.label=LanguageLabel
  12. Deploy the dictionary datastore on the admin application.
  13. In the Repository console, execute the following command : exportComponentDictionaries -c datastore tempFolder.
  14. The available languages from the application are stored in the temp folder.
  15. Copy all the message from the file tempFolder/dictionary/english/ into the file tempFolder/dictionary/localCode_coutryCode/ Translate all messages to the new language.
  16. Caution Check that you have only one key language.icon in your file.
  17. In the Repository console, execute the following command:
  18. openApplication admin
  19. importDictionaries tempFolder
  20. In Designer, update all the xxx_ObjectDictionary and xxx_CollectionDictionary and add the messages in the new language.
  21. Deploy the dictionaries on the default application.
  22. Restart the Web server, empty the cache of the browser and log into Datastore Client.
  23. The new language is available.

Related topics

Internationalize reports

Related Links