Vera JavaScript - Lang.js (/mios/www/cmh/js/config/lang.js)

I was trying to work out how to change update elements of the static json files needed for a new plug-in, when i came across the lang.js file in which seems to be a full of pre-set text messages that can be used .

"ui7_event_type_sys_message":"System message",

Putting that as the lang_tag in the json…

					"Label": {
						"lang_tag": "ui7_event_type_sys_message",
						"text": "Event : "

Seems to ignore the text in the json and presents the associated message - see below ?

Are there any others design elements that people know of that are handled in other .js files ?

./mios/www/cmh/js/checkUpgrade.js
./mios/www/cmh/js/config/config-debug.js
./mios/www/cmh/js/config/config.js
./mios/www/cmh/js/config/constants.js
./mios/www/cmh/js/config/lang-fr.js
./mios/www/cmh/js/config/lang-mx.js
./mios/www/cmh/js/config/lang.js
./mios/www/cmh/js/core/jsr_class.js
./mios/www/cmh/js/core/redirect.js
./mios/www/cmh/js/core/upgrade.js
./mios/www/cmh/js/core.js
./mios/www/cmh/js/external-libs.js
./mios/www/cmh/js/interface.js
./mios/www/cmh/js/lib/jquery.min.js
./mios/www/cmh/js/lib/owl.carousel.js
./mios/www/cmh/js/main.js
./mios/www/cmh/js/uiHelpers.js
./mios/www/cmh/js/view.js

These variables are used in order to localize and standardize message. I don’t pay a lot of attention to them, but you could see them in lang.js and lang-*.js.