Import and Export translations
Often projects are build with a single language in mind. However Ignition's Language Selector components will allow the user to translate the text of a window or a project to the language of their choice. To ensure all the terms are correctly translated in anticipation of a user using the Language Selector, it is important to leverage the import and export translation features associated with Ignition's Translation Manager.
To export all the terms from a window
-
Right-click on an existing window's Root Container and select Translations.
The Translatable Terms panel is displayed on top of the Property Editor.
-
Select all the available Component Terms and mark the terms for translation by clicking the Earth icon with the green plus sign. Note: the list of available terms are based on the components in the Root Container. If you have no available terms, try adding a label or button to the window.
-
Select Tools > Translation Manager.
-
Export the terms by selecting the Export Terms icon on the right of the Translation Manager.
-
Select the Folder location, Base file name, and the appropriate Languages.
-
In the Format drop-down select either PROPERTIES or XML, they both behave the same. The only difference is that the XML format supports UTF-8 encoding directly.
A person can now translate the XML file directly and the XML file can be imported back into Ignition's Translation Manager.
To import terms into Ignition's Translation Manager
-
Go to Tools > Translation Manager, and select the Import Terms icon from the right of the Translation Manager.
-
Choose the file from the Open window, and Click Open.
-
In the Translation Manager, choose the correct Language and choose to import all or the selected terms.
The terms are imported into the Translation Manager.