Translating Your Model
In this step, you will be able to translate all the resources associated to the Configuration Process: Descriptions, RMO, Forms…etc.
Translate the objects
Warning:
This section details how to use the CSV Export / Import to manage translations.
This approach chose 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.
In order to translate a set of products, proceed as follows: 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 Table Toolbar]
- In the combobox associated to the ‘Source’ function, select the Source language of your modeling object.
- Click on the ‘Source’ function.
- [Via the Table Toolbar]
- In the combobox associated to the ‘Destination’ function, select the language of your translation.
- Fill the objects descriptions in the ‘To’ column (in Destination Language)
- 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 project in the Explorer
- [Via the Table Toolbar]
- In the combobox associated to the 'Source' function, select the Source language of your modeling object.
- Click on the 'Source' function.
- [Via the Table Toolbar]
- In the combobox associated to the 'Destination' function, select the language of your translation.
- Export:
- [Via the Menu Toolbar] Click on 'Export' function
- 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] Click on 'Import' function
- In the popup, choose the separator/delimiter (; by default)
- Choose the file to import and click "Ok"
- Save
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.
