I'm in a situation where I have to change the language in the whole Catalog, because it's gonna be used by people with different native languages.
I've managed to find how to change the language in all places except for two, and these are:
Does anyone have any idea how this can be done?
And can it be done from something similar to a configuration file, where you can change multiple tables/alerts at once?
Kind regards, Johannes
you can use Localization editor. This tool should help you to to localize all necessery information in forms, including column headers in tables.
If you need to translate a lot of forms, look into ixutil documentation. There is described way how to prepare localization in advance and import it at once.
The variable .user.localeLanguage can help you to show your custom alert pop-ups in correct language.
Hi, thank you for the answer.
But i can't really get this to work.
Lets say I have this table:
This is in swedish. If I want to change "Personal" or "Namn" to english here, I go to localization and set it to English(United States), like below, and then change the Local Value to the english translation:
If I use an english broswer, the table should display my english translation, right?
But it does not. The rest of the catalog is in english, but not my changes in the table.
What am I doing wrong?
I solved it, someone created the headers as labels, which could not be translated.
In addition to what @milan.ziga mentioned - this is basically how you can localize the headers in tables - there is also a way to add localization to text displayed dynamically through scripts attached to forms:
- declare the variable containing the text in USM_HOME/filestore/custom/locale/<locale>/forms/custom_forms.xml
- refer to that variable text in the form script as ca_fd.custom_xslcontentform_<VAR_NAME>
See the USM_HOME/view/webapps/usm/explorer/scripts/ca_form_lib-expanded.js file for an example.
If you want to extend the (built-in) forms validation messages and other labels (i.e. calendar labels, 'this field is mandatory', etc.), then there is no way to do this easily if your locale is not supported by Service Catalog.
Thank you, this worked just fine!