This article will help you add localized phrases that are not shipped with Document! X and HelpStudio. This is essential for users that are using locales such as "Swedish" that are not shipped with Document! X and HelpStudio.
Document! X and HelpStudio ship with the following localized phrases:
- Simplified Chinese
In order to localize these phrases for a language that does not ship with Document! X and HelpStudio (for example, Swedish), you need to create a custom template, add the language in the template phrases page and then add your translations.
The example we will be using will be for localizing the Table of Contents phrase in the booklet output, but you can adapt these instructions by changing the custom template type for other area's that need localized phrases.
1) Create a Custom template
You can find out how to create a custom template here:
In this example, the Booklet Material (Booklets). You just need to add a template name here and press Ok to create a template. Once this is complete, the custom template will be selected in your build profile.
2) Add the Language to the Custom Template
Once you have completed the above step, an Edit button will appear in the Templates page of the build profile editor. You need to click this button to bring up the Template Editor and then navigate to "Phrases".
From there, you need to select a phrase from the list (in this case, TABLEOFCONTENTS, and then under Default Editing Language, press the Add Language button. From there you need to use the drop down to select the language you wish to add the phrase to - in this example, we'll be using Swedish. You only need to do this once per template - this will make this option available to all phrases inside this custom template.
3) Add the localized Phrase to the Custom Template
The language you have just added will be located at the bottom of the Phrase editor drop-down - you can expand this by clicking the triangle to the left of Language. You need to add the localized version of the phrase in the text box to the right of the language you wish to localize for.
Finally, you need to close the template editor - this will prompt you to save the custom template and you need to select Yes in order for the changes to apply the changes to your custom template. This phrase will now be localized in outputs that use this custom template.