xsl-list
[Top] [All Lists]

Re: [xsl] i18n and l10n question

2006-11-13 09:08:30

 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>