Articles tagged with: links

Links in gettext translated strings

Posted by Andreas on Thursday, January 24, 2008 at 11:01 (CET)

If you use gettext in your web application, you’ll sooner or later have to face the problem of handling links that should be embedded into a translated text. What can easily be done in a normal, non-localized template with ERb, can become a nightmare if used extensively in localized templates. However you can prevent yourself (and your translators) a lot of nightmares by using a small helper method.

Read more »