This project is archived and is in readonly mode.
config.i18n.fallbacks away from default locale seems to break unit tests
-
ronin-5227 (at lighthouseapp)
I think you want this:
config.i18n.fallbacks.map = { :lv => :en }
Note that you could also do this:
config.i18n.locale = :lv config.i18n.fallbacks = true
That would also result in falling back to en when a translation in lv couldn't be found.
-
Rohit Arondekar
- State changed from new to invalid
- Importance changed from to Low
PeterisP, the above solution should work. Closing ticket. In case it doesn't resolve the issue please leave a comment as such.
-
PeterisP
Thank you, this did resolve the issue.
The config.i18n.fallbacks = {:lv => :en} was based on the original patch description at #4428 Add a config.i18n.fallback setting and enable fallbacks in environment/produc...