Configure languages for document creation and localization
The languages.xml file defines the list of languages managed in CCMS Desktop for both authoring and localization.
In the languages.xml file, you define the list of languages supported by IXIA CCMS for authoring and localization. You can specify languages used in the Authoring cycle and those used in the Localization cycle. You can also specify a default language from the languages used in the Authoring cycle.
<languages>
element is
the root element into which all the languages are defined. Each language is
specified individually using a <language>
element nested in the root element. For each <language>
element, you specify the following attributes: groups
specifies the language group for the language, as defined in the ISO-639-5 standard. This attribute is used to group languages. For example, it is used in the Language Selection dialog for the Project Management view.name
specifies the name of the language as it will appear in views and dialog boxes.authoring
="true"specifies and enables the language as part of the Authoring cycle.Note: Languages with theauthoring
attribute set to "true" get included in the list of options for dialogs used during object creation.authoring
="false" specifies and enables the language as part of the Localization cycle.
Within the <language>
element, you can add a
<code>
element for each standard used for the language
code and define its value, such as en-us for English used in
the United States or fr-ca for Canadian French, based on
ISO-639-1 or ISO-639-2 standards. The language code value is the value given to the
xsl:lang
attribute for source or target language objects. For
each <code>
element, you must also define a
type
attribute to specify the ISO standard used to determine
the language code values.
For example:
<languages>
<language groups="Indo-European" name="English" authoring="true">
<code type="ISO-639-1">en-us</code>
<code type="ISO-639-2/B">en-us</code>
</language>
</languages>
Once you define the authoring languages, you can define the automatic default
authoring language for dialogs used to create objects, such as the Create
Topic dialog. Set the default authoring language as an attribute on
the root element. For the <languages>
element, add a
default
attribute with the value for one of the authoring
languages, such as en-us.
-
If you do not set the
default
attribute on the root element, the IXIA CCMS automatically uses the first language in the list whose name contains the word "English" in its name. -
If you do not set the
authoring
attribute on the<language>
element for each language, the CCMS handles each language as if itsauthoring
attributes were set to "true".
Once you define the source and target languages and the IXIA CCMS Desktop instances are synchronized with the Content Store,
all languages display in the Languages pane of the Search
view, regardless of authoring
attribute.
For example, the following languages.xml file makes English,
French, German, Japanese, and Chinese available to users. The
default
attribute on the root element defines that English is
the default source language. The authoring attribute defines only English and French
as possible authoring or source languages.
<languages default="English">
<language groups="Indo-European" name="English" authoring="true">
<code type="ISO-639-1">en-us</code>
<code type="ISO-639-2/B">en-us</code>
</language>
<language groups="Indo-European" name="French" authoring="true">
<code type="ISO-639-1">fr-fr</code>
<code type="ISO-639-2/B">fr-fr</code>
</language>
<language groups="Indo-European" name="German" authoring="false">
<code type="ISO-639-1">de-de</code>
<code type="ISO-639-2/B">de-de</code>
</language>
<language groups="Altaic" name="Japanese" authoring="false">
<code type="ISO-639-1">ja-jp</code>
<code type="ISO-639-2/B">ja-jp</code>
</language>
<language groups="Sino-Tibetan" name="Chinese (Simplified)" authoring="false">
<code type="ISO-639-1">zh-cn</code>
<code type="ISO-639-2/B">zh-cn</code>
</language>
</languages>
Given this example, all dialog boxes used to create objects only offer US English and European French as options, rather than the entire language list, and US English is the default.
To configure languages for document creation and localization: