Hitachi

JP1 Version 12 JP1/Automatic Operation Service Template Developer's Guide 


2.2.7 Switching custom files for individual locales of the Web browser

When creating custom files in zip format, store the files for each locale under the corresponding webroot\language-code folder. Then the custom files corresponding to the locale of the Web browser are loaded, and the display is switched according to the custom files.

Compress the files under the webroot folder in zip format. However, for the Service Details File Name or Service Overview File Name text box, set the webroot\language-code folder as the current path, and specify the relative path.

You can specify, as the language code, two-digit lowercase letters (ja, en, or zh) as defined in ISO-639.

If you also store custom files directly under the webroot folder, those files are loaded in the cases below. Thus, for example, you can set it to load English custom files when there is no custom file that corresponds to the locale of the Web browser.

Important
  • The file names directly under the webroot folder must be the same as the file names in the language code folder.

  • Even when you do not store files directly under the webroot folder, specify the same file names for the files under individual language folders.