6. Languages

Messages and texts (i.e. tool tips) depending a language can be set in the following files.

Language EN<GSAPIDIR>/GSLangEN.js
Language DE<GSAPIDIR>/GSLangDE.js
Language FR<GSAPIDIR>/GSLangFR.js
Language IT<GSAPIDIR>/GSLangIT.js

Each file contains a language hashtable where the code and text has to be inserted. The code is a placeholder for the text.

GSLang<language>.put(<code>,<text);

Example for language EN in <GSAPIDIR>/GSLangEN.js and the code tooltip.sliderzoomin , which is the tool tip for the button zoom in of the slider zoom control elements.

GSLangEN.put("tooltip.sliderzoomin","Zoom In");