Articles tagged with: interpolation

How to use i18n string interpolation

Posted by Andreas on Monday, December 01, 2008 at 04:13 (CET)

Since Rails 2.2 has been released last week, lots of people are beginning to translate their applications — or, at least, many people seem to prepare their applications for later translation by replacing strings in views with t() calls.

If you’re modifying your application to be i18n-ready, or if you’re creating a new multilingual application, here’s a useful guideline to remember: translate meanings, not words.

Read more »