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