iServer Multilingual Configuration

Feedback


The new version of SuperMap iServer service manager supports multi-language environment and provides bilingual configuration in Chinese and English by default. If the default language cannot meet the use environment, you can customize the specific language service manager according to the region and language habits.

Language-specific customization

The process for customizing a specific language for iServer is as follows:

  1. Write the language file

Step 1: Create a new language config file under the path: %SuperMap iServer _ HOME%\webapps\iserver\resources\admin-ui\lang. Take Japanese as an example to create a new Language_ja.json file. Where the name followed by "Language _" must refer to the iServer corresponding language abbreviation in the internationalization comparison table of supported languages .

Step 2: Fill in the contents of the language config file, the file structure and the Language_zh.json and Language_en.json provided by default under the directory of the same level. Be consistent by simply changing the specific content to that of the new language.

Step 3: Save the language config file.

  1. Bring language config file to iServer

Step 1: Open the locales.json config file under the path: %SuperMap iServer_HOME%\webapps\iserver\resources\admin-ui\config. The structure of the file is as follows:

{

    "locales": [

        {

            "name": "zh",

            "label": "中文"

        },

        {

            "name": "en",

            "label": "English"

        }

    ]

}

Add a new item in the locales item, where the name attribute must be consistent with the name following the language config file name "Language _" in 1; The property value is customizable and represents the name of the language displayed on the page. Taking Japanese as an example, the modified config file is as follows:

{

    "locales": [

        {

            "name": "zh",

            "label": "中文"

        },

        {

            "name": "en",

            "label": "English"

        },

        {

            "name": "ja",

            "label": "日本語"

        }

    ]

}

Step 2: Save the locales.json config file.

  1. Configure the new service management language

If you need to use the new language in the new version of service management, clear the browser cache, log in and enter the new version of service management, click the language button in the upper right corner, and select the language in the drop-down menu.

Supported languages

iServer now supports 62 languages for customization. Please refer to the following internationalization comparison table for details:

Language Language code File name
Arabic (Egypt)

ar_EG

ar

Azerbaijani

az_AZ

az

Bulgarian (Bulgaria) bg_BG bg
Bengali (Bangladesh) bn_BD bn
Belarusian by_BY by
Catalan (Spain) ca_ES ca
Czech (Czech Republic) cs_CZ cs
Danish (Denmark) da_DK da
German (Germany) de_DE de
Greek (Greece) el_GR el
English en_GB en_GB
English (American) en_US en
Spanish (Spain) es_ES es
Estonian (Estonia) et_EE et
Persian fa_IR fa
Finnish (Finland) fi_FI fi
French (Belgium) fr_BE fr_BE
French (Canada) fr_CA fr_CA
French (France) fr_FR fr
Irish ga_IE ga
Galician (Spain) gl_ES gl
Hebrew (Israel) he_IL he
Hindi hi_IN hi
Croatian hr_HR hr
Hungarian (Hungary) hu_HU hu
Armenia hy_AM hy
Bahasa Indonesia (Indonesia) id_ID id
Icelandic (Iceland) is_IS is
Italian (Italy) it_IT it
Japanese (Japan) ja_JP ja
Georgian ka_GE ka
Khmer km_KH km
Northern Kurdish kmr_IQ kmr
Kannada kn_IN kn
Kazakh kk_KZ kk
Korean/Korean ko_KR ko
Lithuania language lt_LT lt
Latvian lv_LV lv
Macedonian mk_MK mk
Malayalam ml_IN ml
Mongolian (Mongolia) mn_MN mn
Malay (Malaysia) ms_MY ms
Norwegian (Norway) nb_NO nb
Nepali (Nepal) ne_NP ne
Dutch (Belgium) nl_BE nl_BE
Dutch (Netherlands) nl_NL nl
Polish (Poland) pl_PL pl
Portuguese (Brazil) pt_BR pt_BR
Portuguese (Portugal) pt_PT pt
Romanian ro_RO ro
Russian (Russia) ru_RU ru
Slovak (Slovakia) sk_SK sk
Slovenian (Slovenia) sl_SI sl
Serbian (Latin, Serbia) sr_RS sr
Swedish (Sweden) sv_SE sv
Tamil ta_IN ta
Thai (Thailand) th_TH th
Turkish (Turkey) tr_TR tr
Urdu (Pakistan) ur_PK ur
Ukrainian (Ukraine) uk_UA uk
Vietnamese (Vietnam) vi_VN vi
Chinese (China) zh_CN zh