/
Simplified Chinese Language Support

Simplified Chinese Language Support

The current release of NMIS 9 (9.2.2) supports simplified Chinese language but has not been fully updated to accommodate the new language. The following changes are required to fully accommodate the change.

Update 04omk-proxy.conf

Edit /etc/apache2/conf-available/04omk-proxy.conf

and add the following lines

<Location "/zh">
    ProxyPass http://localhost:8042/zh retry=5
    ProxyPassReverse http://localhost:8042/zh
    ErrorDocument 503 '<html><head><meta http-equiv="refresh" content="60"></head><body><h1>Temporary Service Interruption</h1>The requested OMK page should be back soon. This page will automatically reload in 60 seconds.</body></html>'
</Location>


Then restart apache daemon

sudo systemctl restart apache2


Update opCommon

sudo /usr/local/omk/bin/patch_config.exe -b /usr/local/omk/conf/opCommon.json /omkd/omkd_supported_languages+=zh

sudo systemctl restart omkd 


Reference

The Language module for simplified chinese - zh.pm:

This gets placed in two places by the installer:
/usr/local/omk/lib/Opmantek/I18N/zh.pm
/usr/local/omk/lib/.tmp/PAR/VendorLibs.pm.exe/lib/DateTime/Locale/zh.pm

Related content

Apache 2.4 on CentOS 6.9
Apache 2.4 on CentOS 6.9
More like this
Acceso a Módulos OMK desde un dispositivo Móvil
Acceso a Módulos OMK desde un dispositivo Móvil
More like this
Upgrading from NMIS8 compatible applications to NMIS9 compatible applications
Upgrading from NMIS8 compatible applications to NMIS9 compatible applications
More like this
Configuring NMIS to use Internal Authentication
Configuring NMIS to use Internal Authentication
More like this
opCharts version 4.5 Node Resources Issue
opCharts version 4.5 Node Resources Issue
More like this
Configuring SSL on apache for NMIS and OMK
Configuring SSL on apache for NMIS and OMK
More like this