:default => false doesn't work #143

jfirebaugh opened this Issue Mar 20, 2012 · 0 comments


None yet
1 participant

If I pass :default => false or :default => nil in the options to I18n.t, and the translation doesn't exist, the result is the "missing translation" string rather than the default I specified. Instead of checking the key value, I18n::Backend::Base#translate should check options.key?(:default).

@jfirebaugh jfirebaugh closed this Mar 20, 2012

atzorvas pushed a commit to e-travel/i18n that referenced this issue Jan 12, 2016

Merge pull request #143 from Rasmis/patch-1
Edited rails/locale/da.yml via GitHub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment