mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
Added Site Setting to change locale.
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user