1

I used the following post to implement links inside of the language file of my rails app. Unfortunately it seems, that this doesnt work anymore with rails 3. It just puts out the {{link}} as text...

Any idea?

Community
  • 1
  • 1
Markus
  • 3,948
  • 8
  • 48
  • 64

1 Answers1

1

Looks like i18n deprecated {{tag}} and changed it to %{tag}.

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
  • Hi Greg, thanks for your answer. I tried to use .html_safe function, but unfortunately didn't help... but thanks anyway! – Markus Dec 16 '10 at 14:57
  • @Markus, The `html_safe` stuff was a red-herring, or maybe I'm way too tired. Anyway, I updated the answer to what looks like a lot more likely fix. – the Tin Man Dec 16 '10 at 15:35
  • Great, thats the solution! Thanks a lot! – Markus Dec 16 '10 at 16:21