Skip to content


Subversion checkout URL

You can clone with
Download ZIP


i18n including tags #189

Turbo87 opened this Issue · 0 comments

1 participant


the support for i18n including HTML tags is currently rather thin as the tags are directly exported into the pot files. Genshi uses an alternative syntax for inline tags, that works very well.

For example:

<p i18n:msg="name">
  Please visit <a href="${site.url}">${}</a> for help.

will be extracted to:

Please visit [1:%(name)s] for help.

it would be great if this or something like this could be supported by jinja2 too. I might even implement it myself if someone would help me to get started in the right direction...

@Turbo87 Turbo87 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.