ThinkGeo.com    |     Documentation    |     Premium Support

Localisation of Map1.MapTools.OverlaySwitcher

I need thet component but i need to localise it.


Is it possible?






 

 


Artem,


OpenLayers supports dozens of languages, if your language is in its list, you can do the localization with no problem. Here is how to do it. 


1, Download the latest Openlayers library at openlayers.org/download/OpenLayers-2.7.zip , 


2, Select the language you want within “\OpenLayers-2.7\lib\OpenLayers\Lang”, copy the corresponding script to your web folder. 


3, Add the attached codes to the web page to register that language script. 


 


That's it. Have a try!


Thanks,


Ben


 



577-script.txt (278 Bytes)