use i18n-js
This commit is contained in:
parent
a9dff7f1df
commit
64a597c689
10 changed files with 33 additions and 24 deletions
|
|
@ -22,7 +22,9 @@
|
|||
Javascripts
|
||||
\==================================================
|
||||
/ Placed at the end of the document so the pages load faster
|
||||
:javascript
|
||||
I18n = {locale: '#{j(I18n.locale.to_s)}'}
|
||||
= javascript_include_tag "application"
|
||||
:javascript
|
||||
I18n.defaultLocale = "#{I18n.default_locale}";
|
||||
I18n.locale = "#{I18n.locale}";
|
||||
I18n.fallbacks = true;
|
||||
= yield(:javascript)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue