This document describes how to create the XML files that add a new language to the administrative module in Composite. It is presumed that you have a “clean system” that meet the system requirements of Composite.
This article should be read by people charged with the task of translating the administrative interface of Composite to a new language.
You should now be set to edit the XML files located in
<Composite Root>\Localization
For each <ss:String /> element in these file, you should add a sub element pertaining to the language you wish to add, like
<ss:Swedish>Text here</ss:Swedish>
You might have received a pre-edited version of the files from Composite, where there have been made room for your language. If so, delete the original XML files (do not delete the .xsd file in the same folder) and copy the files you received into the folder.
You can use applications like “XML Spy” to edit the XML files.
Don’t worry about “breaking” the strings of other languages – when you send the language XML to Composite we will only add your new language to our source base.
Please note that some string contain “control elements” and “tokens” – see examples below. You should typically NOT translate these, since they have a special meaning to the system:
Examples of “control elements” that you should leave “as is”
\n
#MEDIANAME#
#MEDIACOUNT#
A few strings are enclosed in CDATA tags. You should keep the same structure in your work.
As you add strings to the new language, you should be able to see the changes in the administrative module right away – just save the XML file and refresh (F5 for the whole window, or right-click Reload for a single page).
Some strings are only shown when arcane errors occur, and are near impossible to “test” – just make sure that the string you added looks correct.
If problems occur while loading the Language XML files, Composite will write an entry in the event log – you should ensure that the files are correctly formatted (that they are “valid XML”) and that they fit the schema.