You can pass :fallback => 'false' to your I18n.translate calls, but this is not part of the public API.
Another way you can try is this:
I18n.available_locales.each do |al| I18n.fallbacks.merge!({al => [al]}) end
This will basically make a backup for each available language include only yourself. So, if the transfer is not found by itself, then there is no return to return.
However, you need to find a way to restore the default backup.
You can do this, for example, using an instruction, for example:
I18n.available_locales.each do |al| I18n.fallbacks.merge!({al => [al, I18n.default_locale]}) end
p.matsinopoulos
source share