Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
fix for missing locales when deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
hakunin committed Aug 22, 2014
1 parent 8397de2 commit 5943efc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/assets/javascripts/locales.js.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
<%
# first we need to force init translations or there wouldn't be any
I18n.backend.send(:init_translations)
%>;
I18n.translations = <%= I18n.backend.send(:translations).to_json.html_safe %>;
I18n.fallbacks = true;
I18n.fallbacks = true;

0 comments on commit 5943efc

Please sign in to comment.