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] xml:lang settings. Confused.


Hi Dave,

On Friday, 2007-06-01 16:13:36 +0100, Dave Pawson wrote:

> Which is the 'definitive' language please? (inaccurate definition)

For a mixed content it depends on the Unicode script type.
If there are CJK sections they are associated with
> style:language-asian="en"
> style:country-asian="GB"
(having set that to en-GB is pretty useless anyway, probably no en-GB
spell checker will recognize CJK words, and also an en-GB breakiterator
will not work correctly in that scenario)

If there are CTL script type sections they are associated with
> style:language-complex="en"
> style:country-complex="GB"
(also here, having set that to en-GB is pretty useless as well)

For all other character based script types (including Latin, Cyrillic, ...)
> fo:language="sv"
> fo:country="SE"
is assigned.

  Eike

-- 
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS


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