[MKDoc-dev] i18n bug?
Chris Croome
chris at webarchitects.co.uk
Wed Dec 1 11:07:28 GMT 2004
Hi
If you have something like this:
<p
i18n:translate="hello-world"
>
hello
<em
i18n:translate="world"
>world!</em>
</p>
Then the i18nFool module will generate a .po file like this:
msgid "hello-world"
msgstr "hello {$1}"
msgid "world"
msgstr "world!"
If a i18n:name attribute is added:
<p
i18n:translate="hello-world"
>
hello
<em
i18n:translate="world"
i18n:name="world"
>world!</em>
</p>
Then the .po file is better:
msgid "hello-world"
msgstr "hello {$world}"
msgid "world"
msgstr "world!"
Shouldn't it generate the second .po file from the first version, isn't the
i18n:name attribute redundant?
Chris
--
Chris Croome <chris at webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
More information about the MKDoc-dev
mailing list