X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6254853c5c6a76417aed186798a0292c07d30ff4..9dc591ec64f9e1d2dc61a540c01debea14d49043:/app/views/site/index.rhtml?ds=inline diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 855f3f495..3bccb7e04 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -97,6 +97,8 @@ end var marker; var map; + OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>"); + function mapInit(){ map = createMap("map");