OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [office] Fwd: New Last Call: 'Tags for Identifying Languages' to BCP

On Monday 13 December 2004 12:32, Michael Brauer wrote:
> Hi David,
> David Faure wrote:
> > This might be relevant for us since we use fo:language to specify the language
> > of a run of text. Not for switching to it yet, of course, better keep following XSL
> > for now, but just in case any of you has input on the IETF draft.
> > 
> > On this topic, I just noted that our fo:language is validated with [A-Za-z]{1,8} 
> > (languageCode definition)
> > This basically means it's "an RFC3066 language code" but without country code.
> Yes.

So there is no way currently to tag text as "using the en-GB dictionary instead of the en-US"?
How do OpenOffice users handle this problem?

> > Shouldn't we allow things like fr_CA? (or is that fr-CA ? I'm confused by the RFC
> > talking about a hyphen, I thought it was an underscore).
> My understanding of RFC3066 is that it uses a hyphen. The type
> specifications for "language", "languageCode" and "countryCode" have
> been derived directly from RFC3006 and XSL-FO.
> RFC3066 specifies a language as
> >The syntax of this tag in ABNF [RFC 2234] is:
> >
> >    Language-Tag = Primary-subtag *( "-" Subtag )
> This definition is what we use for the type "language".

> In XSL, the datatype used for the language attribute is summarized as
> > A language-specifier in conformance with [RFC3066].
> and
> > The language may be the language component of any RFC 3066 code (these
> > are derived from the ISO 639 language codes).

> That's from my understanding the "primary-subtag" of RFC 3006, that must
> not contain a hyphen (or underscore).

Why? It says "language" - which is the full thing, including a possible hyphen and subtag, isn't it?

David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]