diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/layouts/application.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index e9220f3a..5dee6fa1 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -21,6 +21,11 @@ <%= javascript_include_tag "application" %> <%= render "layouts/embedly"%> <%= yield :javascript %> +<script type="text/javascript"> + I18n.defaultLocale = "<%= I18n.default_locale %>"; + I18n.locale = "<%= I18n.locale %>"; + I18n.fallbacks = true; +</script> <%= csrf_meta_tags %> </head> <body class="<%= params[:controller].parameterize %> <%= params[:action] %>"> |
