LESSON

Import and Export Translations

Description

Learn how to use project translation import and export in order to move terms and translations in and out of the system.

Video recorded using: Ignition 8.1

Transcript

(open in window)

[00:00] In a previous lesson, we showed how Ignition is able to translate text on vision or perspective applications to any language you define within the system. The ability to export and import terms and translations can be a crucial component to the translation of a large project. In this lesson, we will cover how imports and exports work for translations. I am currently on my designer, and as we can see, there is a lot of text here on this vision window. If I wanted to translate this application to Spanish, I could simply go to my project browser, right click on my window's root container, and head to the translation menu to bring up the translatable terms panel. Here, I can select all the terms available in this window and press this button to add them to my translation manager. I can now head to my tools menu and select the translation manager option to view my newly added terms.

[01:04] This means that anywhere in my application that these words of phrases exist, if the local is changed to Spanish, these words would then be translated to Spanish using my translations defined here. Say that these terms are commonly used by my employer and I want to use them in other gateways. What I can do is export them and later import them into whatever Ignition gateway needs these Spanish translations. I will click on the export button on the right-hand side of the translation manager. First we select our base folder, or the folder where we want these translations to be saved. I will give my file a name. In this case, I will export both the English alternate and Spanish translations. I will choose XML as my format. Property and XML are both standard file formats. They're very similar, they just use different coding mechanisms. Once we export these terms, we can open the folder and see that the files have been written.

[02:05] Notice the individual file per language. Now, a translator can come in, open the Spanish version of the file and translate some of these terms like I am doing currently. Once we are happy with our translations, we can go back to our designers translation manager, press the import button. I will select my Spanish translations file. I select Spanish as my language. Now, I can select individual translations, but I will just import all. In general, you might not want to import all and overwrite any existing translations. You might just want to import selected translations, which is fine. I will click okay to finish my import and you will now see my new translations showing in the translation manager. Now if I head back to my vision window, I can put my designer in preview mode and use the language selector component to switch my locale to Spanish and see my new translations working.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.