[Mailman-i18n] One tip

James Henstridge james@daa.com.au
Mon, 13 Nov 2000 21:26:38 +0800 (WST)


On Mon, 13 Nov 2000, Juan Carlos Rey Anaya wrote:

> When marking source files. There should take into account to try taking
> apart HTML code when possible:
> eample)
> original code:
> msg = "<em><strong>Don't change the option here.</strong>Use the main
> options page instead.</em>"
> marked code:
> msg = "<em><strong>" + _("Don't change the option here.") + "</strong>"
> + _(Use the main options page instead." + "</em>"

This limits the positioning of the bold text for translations (ie. it
must always go before).  I don't know if that is a problem in this
case.

This is similar to the reasons why printf style output is easier to 
internationalise than c++ streams.

James.