Updating Localizations
The existing localizations of CMS Console GUI may miss new strings that new releases of Experience Management may introduce.
Prepare your website and set up the localization tool
- From the System module, install the latest version of the GUI localization package you want to update (Packages | Available packages | Composite.Localization | Composite.Localization.C1Console.{Language})
- Switch the GUI to the language of installed localization (Tools | Regional Settings)
- Download and unzip LocalizationTool.zip.
- Set these parameters in its
LocalizationTool.exe.configand save the file:
- websitePath: The path to the root folder of your CMS Website (for example:. "C\inetpub\CompositeC1")
- targetCultureName: The culture code of the target language of localization (for example:."fr-CA")
Next, translate missing GUI strings:
- Run LocalizationTool.exe. (Make sure all the options in the lower part of the tool are checked.)
- Click Find First Missing to fast-forward to the first string that has not yet been translated.
- Correct the translation suggested by Google Translate if necessary.
- Press Enter to save the translation and move to the next non-translated string.
- Repeat steps 3-4 as long as there are more non-translated strings.
The status at the top of the window shows how many strings are missing translation (out of the total number of strings) as well as the percentage of the translated ones. There will be the number of strings missing translation, if any, indicated next to a file in the Files list. The strings with invalid keys if any (renamed or deleted in the source files) are saved in the UnknowStrings.xml file in the target language's folder.
Then, export the updated localization to a package file:
- From the System module, install Composite.Tools.PackageCreator (System | Available Packages | Composite.Tools | Composite.Tools.PackageCreator).
- From the "Package Creator" module, right-click Packages and click Create package in the context menu.
- In the popup window, fill out all the fields and click Next. A package element will appear under Packages, for example:. "Composite.Localization.C1Console.Danish".
- Make sure the package is set as 'active' (right-click it and click Set Active).
- Next, from the "System" module, expand /App_Data/Composite/LanguagePacks, right-click the folder with the localization files for your language (for example:. 'fr-CA'), and click "Add to the Package". This will add all the localization files you've created with the localization tool to the package.
- Back in the "Package Creator" module , right click the package and click Download package.
- When prompted, specify the path where to save the package.
Your updated language pack is ready for distribution.
For more information on exporting your GUI localization files to a CMS Package, see "Exporting Localizations".