I'm trying to do something like this:
I18n.t(:unknown, :default => "Hello,\n world")
When I'm having a fallback mechanism in place:
I18n.fallbacks.map('de' => 'en')
the above fails, i.e. the result is "Hello,\n" instead of "Hello,\n world" .
I believe there is something wrong with the "\n" character.
Is this normal behaviour or I am doing something wrong ?
Good catch. Thank you! It happened in Fallbacks backend in ruby 1.8.7, as Array(string) splits string on new line char. Fixed in 1c53c5d
Fix #81. Prevent splitting string on new line in Fallbacks backend