17b3e3e628
Thus, when a translation is missing in the current locale, fall back to the default locale. See https://github.com/svenfuchs/i18n/wiki/Fallbacks for more info and configuration settings available to users. Also, this change adds a "t" helper that proxies to I18n.t, just like Rails, for more concise translating.
6 lines
161 B
Plaintext
6 lines
161 B
Plaintext
Default locale: <%= I18n.default_locale %>
|
|
Current locale: <%= I18n.locale %>
|
|
Fallbacks: <%= I18n.fallbacks[:en] %>
|
|
<%= t(:untranslated) %>
|
|
<%= t(:greetings) %>
|