X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ada6df1e945a94868d60c48956ecf87132ae4478..c372f6cc18cd8353fdd926722c10aa308bd98790:/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");