Exporting Localization
Using Composite.Tools.PackageCreator, you can export all localization files to a package. This package can make GUI localization as simple as a couple of clicks in the CMS Console.
Note: If you haven't installed Package Creator, install it: System | Available Packages | Composite.Tools | Composite.Tools.PackageCreator | Package Info | Install. A new module called "Package Creator" will be added in the CMS Console.
To export your GUI localization to a package:
- 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.French (see below on the naming conventions.)
- 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.
Naming conventions
When creating a package to export your GUI localization files to, please consider using these values for the corresponding fields:
- Name: The GUI localization package is normally named as "Composite.Localization.C1Console.{Language}", where '{Language}' stands for the English name of the language, for example: Composite.Localization.C1Console.German.
- Group name: If you follow the naming convention for the Name field as suggested above, please use "Composite.Localization" for the group name.