Translating Your Model
In this step, you will be able to translate all the resources associated to the Configurable Bundle: Descriptions, RMO, Explanations, etc.
Translate the objects
Warning:
This section details how to use the CSV Export / Import to manage translations.
This approach should only be chosen when dealing with a limited number of records / lines: no more than a hundred.
For larger volumes, please prefer the Excel import / export feature for performances reasons.
You can either translate your objects individually (Translate resources associated to a single object):
How to:
- [Via the ‘Explore Structure’ explorer]
- Click on the object to be translated in the Explorer.
- [Via the Menu Toolbar – Group Languages]
- In the combo box associated to the Source function, select the Source language of your modeling object.
- Click on Source.
- [Via the Menu Toolbar – Group Languages]
- In the combo box associated to the Destination function, select the language of your translation.
- Fill the objects descriptions in the To column (in Destination Language).
- Click on Save.
OR translate all resources (Mass update via Export/Import tool)
How to:
- [Via the ‘Explore Structure’ explorer]
- Click on the icon representing the complete Bundle in the Explorer.
- [Via the Menu Toolbar – Group Languages]
- In the combo box associated to the Source function, select the Source language of your modeling object.
- Click on the Source function.
- [Via the Menu Toolbar – Group Languages]
- In the combo box associated to the Destination function, select the language of your translation.
- Export:
- [Via the Menu Toolbar – Group Exchange] Click on Export.
- In the popup, choose the separator/delimiter (; by default).
- Edit the translation file:
- Retrieve the Exported file on the server.
- Open the file and enter the translations in the ‘To’ column.
- Save the file and close it.
- Import:
- [Via the Menu Toolbar – Group Exchange] Click on Import.
- In the popup, choose the separator/delimiter (; by default).
- Choose the file to import and click on Ok.
- Click on Save.Warning: Please ensure that your files are encoded in UTF-8 format.
How to add a new language
The languages available for translation are listed in the following file that you can find on the CPQ server:
$CPQ_HOME$/conf/“internationalSettings.xml”.
To add a new language, insert the following XML block between the opening and the closing tags:
<internationalSettings name='Français'>
<language code='fr'/>
<country code='FR'/>
<currency code='EUR' format='#.##0,###'/>
<longDate format='yyyy MMM dd EEE HH:mm'/>
<shortDate format='dd MMM yyyy'/>
<time format='HH#mm#ss.s'/>
<number format=''/>
<integer format=''/>
</internationalSettings>
Replace the setting name, language, country, and currency depending on your settings. Save and close the file, and restart the CPQ Server.
