I have a terms.en.yml file with some localization, for example:
text: 'This agreement was written in English (US). To the extent any translated version of this agreement conflicts with the English version, the English version controls. Please note that Section 16 contains certain changes to the general terms for users outside the United States.\n\ Some new line'
This works for me:
en: hello: "Hello world" bye: | Bye! See you! error: > Something happend. Try later.
irb(main):001:0> I18n.t 'bye' => "Bye!\nSee you!\n" irb(main):002:0> I18n.t 'error' => "Something happend. Try later.\n"