FEATURE UPDATED AT VERSION: 20.0
If you want to add a language for one of the sites in your Portal, you need to click on the desired one in the Sites section.
Then, in the Translations section, you can click on add language to choose a new one from the dropdown list shown below.
When you add a language, it will be marked as draft. We will cover this argument later on in the article.
The next step is to download the translation file by clicking on the button highlighted below.
Unzip the file. Inside it, there are three .xliff files, each of them contains the translation of a different part of Newired:
- feedback_to_targetLanguage.xliff contains the translations for all the texts you will find in the feedback windows
- journey_sourceLanguage_to_targetLanguage.xliff contains the translations for all the Journeys
- tips_sourceLanguage_to_targetLanguage.xliff contains the translations for all the Tips
Now that you have the three files, you need a text editor where to open them.
There are many text editors you could use, depending on your needs and your operating system, let’s make a few examples:
See the image below for an example of something similar to what you will see once you open the feedback_to_targetLanguage.xliff in VSCode.
All you need to do is replace each text inside the target tag with the translated text. Use what’s inside the source tag above the target as a reference.
<source>Do you have any additional feedback for us?</source>
<target>write here your translation</target>
Be sure to have applied one or more changes to each file or it won't be recognized as a new translation in the Publishing process and, therefore, not be available to the end users.
Once your files are ready to be uploaded to the Portal, go to the Translations section and click on Upload Translation.
Upload one by one all the .xliff files you translated.
- DO NOT upload a folder or a zip containing the three files
- Files’ names must not be changed or they won’t be recognised properly by Newired
The last thing to do is to click on the Draft button next to the new language and select Set to Active. This way, you let the Portal know you want to submit this language to the next version of your content you will publish.
After setting the language active, the last thing to do to make the new language visible to your users is to create a new version from the Publishing section and set it Live. For more information on versions, please check this article.