[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] i18n and l10n question


Subject: Re: [xsl] i18n and l10n question
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 13 Nov 2006 16:08:17 GMT

>  Mmh, if I'm right this is based on the fact that the most
> locale-specific (en_US, or en, or the default) is last in the document
> order

yes that assumption is there it is true. I assume that's OK as the input
file format is under local control, but if this assumption is false,
then as you say in 2.0 you could use , instead of |, or in 1.0 you'd
have to split it up with an xsl:choose testing if the specific
translation is there first (and applying templates to that if it is)
otherwise applying templates to the default.

David


Current Thread