X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6254853c5c6a76417aed186798a0292c07d30ff4..0d16fd57d46a4aaa1c170d79772e549bfadf288a:/app/views/site/index.rhtml 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");