Using the Settings List Editor for Localization and More
The Settings List Editor manages all of the settings for your theme customizations and localization strings.
When you customize themes—add a logo to the header, rearrange the toolbar buttons, etc.—those changes are saved to the settings.xml file in the theme settings. You can reuse this file in other themes.
Doc-To-Help includes 14 localization files that can be used to change all of the text strings within a NetHelp theme. Once a configuration file is chosen, all of the strings will be displayed within the Theme Designer and can be edited if desired.
English = settings.en-us.xml |
Swedish = settings.sv-se.xml |
Danish = settings.da-dk.xml |
Hebrew = settings.he-il.xml |
German = settings.de-de.xml |
Chinese = settings.zh-cn.xml |
Spanish = settings.es-es.xml |
Japanese = settings.ja-jp.xml |
Norwegian = settings.nb-no.xml |
Italian = settings.it-it.xml |
Portuguese = settings.pt-pt.xml |
French = settings.fr-fr.xml |
Russian = settings.ru-ru.xml |
Dutch = settings.nl-nl.xml |
Doc-To-Help merges the theme settings and the target settings together when your target is built.
By saving the theme settings separately from the target settings, you can make your main customizations in one place (the theme settings) and keep your localizations in another (the target settings). Then you can build different versions of the same theme in different languages.
Example
You can add a logo to your theme, rearrange the buttons, and hide the breadcrumbs. This will be saved to settings.xml in the theme settings.
Then you can add the French localization file (settings.fr-fr.xml) to your target settings.
You can then build an English version and a French version of the same theme.
-
Open the Theme Designer and click the Wrench button in the upper-right.
The Settings List Editor opens. This editor has two sections: Theme Settings and Target Settings.
This means you can manage the settings for your theme and target separately. Plus, you can keep several theme and target settings in your list.
Doc-To-Help merges all the files together when you build your target.
- To add or remove settings files, click in the appropriate area and use the + or – buttons. You can rearrange the files by using the up and down arrows. If you make changes to one of the default configuration files using the Theme Designer, a copy of that file will be created in your theme’s folder. This serves two purposes. First, the changes won’t affect other themes; second, the edited settings file you create can be imported into other themes.
- (Optional) You can also create new files if you wish. After clicking the + button, in the Add Settings dialog choose Add new file.
- Select the settings file you would like to use and/or edit in the Theme Designer and click OK. That file name is displayed at the top of the Settings Editor.
Note The Settings List Editor can store a "chain" of files for both your theme and for the current target. It merges the files from start to end, with the latest file overriding each previous file. If the settings file you are editing is not the last in the chain, what you see in the Theme Preview will not be the same as what you see in the Settings Editor, because the Settings Editor displays the settings up to the current point in the chain, whereas the Theme Preview will reflect the entire chain. If you choose the last file in the chain, the Theme Preview will match the Settings Editor.
Note Edited configuration files are stored on your computer in C:\Users\[username]\Documents\My Doc-To-Help Projects\Doc-To-Help\Themes\[name of new theme]. These files can be used in other themes. Just copy them into the folder of the new theme and add them using the Settings List Editor.