Subject: Re: XSLT (2) namespace safe i18n patterns
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 24 Nov 2009 12:59:11 +0000 (GMT)
|
Andrew Welch wrote:
> I would group the translations by area, with a suitable
suffix
> (just like Java :)
You can do that with @xml:lang too.
> for
example:
> helppage_en_GB.xml
> helppage_de_DE.xml
Well, you're not using
a @lang anymore here :-)
Of course, in a particular context, there can be
plenty of
reasons to use something else than an attribute, or something
else
than BCP 47. And there is no reason trying to stick with
@xml:lang just to
use @xml:lang. But if you create an attribute
to set a BCP 47 tag, then just
use @xml:lang...
Regards,
--
Florent Georges
http://www.fgeorges.org/
|