View Source

h3. Adding Interface Languages

CDP server determines the list of languages supported by enumerating the {{messages_*.properties}} files installed on the CDP Server system.

The Java locale abbreviation must be used. For example:
* {{messages_en.properties}} for English
* {{messages_ja.properties}} for Japanese
* {{messages_es.properties}} for Spanish

!localization files.png!

 CDP also supports country-specific localization. For example:
* {{es_BO}} \- Spanish, Bolivia.
* {{en_AU}} \- English, Australia.


Changing and uploading such specific localizations can be performed as shown below:

1. Go to {{C:\Program Files\R1Soft CDP Standard Edition\conf\language-files}} and copy the {{message_en}} file.

2. Rename the file by adding a "_AU" tail at the end of the file name to change your localization to Australian. Or add a "_BO" tail at the end of the file to change your localization to Bolivian.

!messages_en rename.png!

3. Open your renamed file with a file editor.

!open file for cofiguration.png!

4. Select a program from the list of installed programs.

!manual selection option.png!

5. You may select Notepad to open the file.

!notepad choosing.png!

6. Go to the "Edit" !arrow.gif! "Find" menu.

!choosing find in menu.png!

7. Search for any word for that you wish to change according to your localization, and then click on the "Find Next" button.

!searching for _language settings_ string.png!

8. If any string is found, it will be highlighted.

!_language settings_ string founded.png!

9. Change the found string and click on the "Find Next" button.

!_language settings_ string changed_find next.png!

10. If there are no strings, you will see the message "Cannot find string." Click the "OK" button and close the "Find" window.

!_language settings_ string_no more.png!

11. Save your changes.

!_language settings_ string changed saved.png!

12. Go to "Language Settings" and click the "Upload Language File" button.

!upload language.png!

13. Click the "Browse" button and select your modified file.

!browse.png!

14. Click the "Upload" button.

!upload.png!

15. Click the "OK" button.

!ok.png!

16. You will see your locale in “Installed Locales” section.

!englis (australia) locale.png!

17. Choose the “English (Australia)” option from the drop-down menu and click the “Save” button.

!choosing english (australia) as default language.png!

18. You will see your results after several seconds.

!au localization implemented.png!

Only admin is allowed to upload language files to the server. Once the file is uploaded, a server restart is required. See [Restarting CDP Server].

{info:title=Tip}This file will not be sanity checked.{info}

If the uploaded file is not properly named or does not contain a supported locale, it cannot be decoded. Selections using this file will first default to the CDP Server default language and then to English.

CDP Server will send the list of installed languages to the [Data Center Console|CDP Data Center Console] as part of its configuration message.

String key values not found in a localized file will first check the CDP default user language, if it is different from the localized file language, and then default to English.

h3. Setting Default Language

CDP Server supports a default language for all users. 

A user's choice is based on which {{messages_*.properties}} files are installed.

The default language choice may be set/overridden on a user-by-user basis.

[Data Center Console|CDP Data Center Console] users can set their default language in DCC and override the default language settings on each CDP Server (CDP servers may not all have the same languages installed).

When the default language is changed (either by the user or by CDP), the interface refreshes to reflect the selected language immediately.

If no language is chosen, English will be used by default.

If a user's chosen/stored language pack is not available, then the system changes to the CDP Server default language.

h3. Setting Time Zone

CDP Server has time zone support. It is a system-wide setting. The default is a value returned by the operational system.

{excerpt:hidden=true}Instructions on how to change the language of the CDP interface.{excerpt}