Internationalization
DEXTUploadX5 has written all the string resources in Korean for use in the Korean internet environment.
The resource files provided by DEXTUploadX5 product are in "res" directory and as follows.
-
Resource files:
- dextuploadx5-svg-message-ko.txt
- dextuploadx5-svg-message-en.txt
- dextuploadx5-svg-message-ja.txt
- dextuploadx5-svg-message-zh.txt
-
Resource files for the HD application (since version 2.0.0.0):
- dextuploadx5-hd-message-ko.xml
- dextuploadx5-hd-message-en.xml
- dextuploadx5-hd-message-ja.xml
- dextuploadx5-hd-message-zh.xml
English, Japanese and Chinese were added in version 1.3.0.0.
If you are looking for a global service, you can use a browser that does not support Korean. Therefore, if you are interested in multilingual environment, you have to create and register the language resource you want to support.
(Other language resources other than Korean, English, Japanese, and Chinese should be produced by hand.)
# DEXTUploadX5 contains Korean, English, Japanese, and Chinese message resources by default. dextuploadx5-svg-message-ko.txt dextuploadx5-svg-message-en.txt dextuploadx5-svg-message-ja.txt dextuploadx5-svg-message-zh.txt # If you want to use another language resource, create the appropriate language resource and put it in the same location. dextuploadx5-svg-message-fr.txt
# For the HD application, DEXTUploadX5 contains Korean, English, Japanese, and Chinese message resources by default. dextuploadx5-hd-message-ko.xml dextuploadx5-hd-message-en.xml dextuploadx5-hd-message-ja.xml dextuploadx5-hd-message-zh.xml # If you want to use another language resource, create the appropriate language resource and put it in the same location. dextuploadx5-hd-message-fr.xml
The product internally looks for languages supported in the following order: navigator.language, navigator.browserLanguage, navigator.systemLanguage. If it does not match the resource suffix (ko, en, ja, zh, ...), you need to pin it to a specific resource (usually in English). When you create a component using the dx5.create function, you can force the language resource to be used. If a language is forcibly specified, the language resource is searched regardless of the browser language.
// Set automatically.
dx5.create({ id: "dext5-1", parentId: "dext5-container1" });
// Set to Korean.
dx5.create({ id: "dext5-2", parentId: "dext5-container2", lang: "ko" });
// Set to English.
dx5.create({ id: "dext5-3", parentId: "dext5-container3", lang: "en" });
// Set to Japanese.
dx5.create({ id: "dext5-4", parentId: "dext5-container4", lang: "ja" });
// Set to Chinese.
dx5.create({ id: "dext5-5", parentId: "dext5-container5", lang: "zh" });
// HD applications follow the default resource settings of the component.
If no resource file is found that supports the browser's language or the specified language (using the lang attribute), use the built-in English resource. The built-in English resource is supported starting in version 3.10.0.0; in earlier versions, an error is thrown if the resource does not exist.