Skip expression-only messages #2

wichert opened this Issue Aug 3, 2011 · 0 comments

1 participant


It is possible to force translation of pure strings by using i18n:translate="". This can be combined with expressions and you get something like this:

<span i18n:translate="">${title}</span>

This is currently extracted by lingua and produces this entry in the POT file:

msgid "${title}"
msgstr ""

which is not very useful. Lingua should skip all messages which only consist of expressions.

@wichert wichert was assigned Aug 3, 2011
@wichert wichert closed this in b37be3d Sep 8, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment