I would like to know if it is possible to use fast_gettext the translate a short paragraph which contains a url link. I'm using a combination of padrino, haml and fast_gettext.
For example:
Please visit our home page.
Inside the .haml file, the code looks like this:
%p
= _('Please visit our %{home_url} page') % {:home_url => link_to(_("home"), '/home') }
However this will print out the html tag, the output I'm getting look like this
当社の <a href="/home">ホーム</a> ページをご覧ください。
And finally the .po file looks like the following:
msgid ""
"Please visit our %{home_url} page"
msgstr "当社の %{home_url} ページをご覧ください。"
msgid ""
"home"
msgstr "ホーム"
What did I miss?