Added Site Setting to change locale.

This commit is contained in:
Robin Ward
2013-02-28 14:34:38 -05:00
parent e37c7f1e1d
commit 628927a79f
23 changed files with 640 additions and 97 deletions
@@ -16,10 +16,6 @@
<%# load the selected locale before any other scripts %>
<%= javascript_include_tag "locales/#{I18n.locale}" %>
<%# store the locale into a variable, because the scripts need it, see init_locale.js %>
<script>
window.currentLocale = "<%= I18n.locale %>";
</script>
<%- if mini_profiler_enabled? %>
<%- Rack::MiniProfiler.step "application" do %>