Search code examples
ruby-on-rails-3.1internationalizationi18n-gem

i18n formatted text


I have a question regarding the best practise of handling formated text when using i18n. For example, let say I have a about us page with multiple paragraphs, bullet points etc. (keeping in mind that I dont want to change the template directly every time I add a paragraph or bullet pint) How am I best representing these more complicated structures? Are they at all possible to do with i18n or should I be using a different technique?


Solution

  • My personal preference is to store content in Markdown within an I18n string.