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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: Using Language code in HTMLHelp


Jirka,

I am sorry to say this, but I am not sure this was such a good idea.
Now you have introduced a system specific (HTMLHelp) value, in the
otherwise system neutral gentext files (I prefered your windows
specific language.xml file located in the htmlhelp directory).

In TDG, norm describes the lang attribute as a language code (perhaps 
extended with  the countrycode). It was that interpretation I was 
interested in:

So you would be able to say "en_UK", and not just "en", which now will
by default be US.


What I originally had in mind was a reorganisation of the language.xml file
e.g. 

   <localization>
     <language lang="en">
       <country name="UK">0x0809 English (UNITED KINGDOM)</country>
       <country name="US">0x0409 English (UNITED STATES)</country>

   ....


How you select the the country, if only the language code is of course
a political minefield, as you also mentioned in an ealier reply.

Regards,

Jens



On Sun, 25 May 2003, Jirka Kosek wrote:

> Jens Stavnstrup wrote:
> 
> > Currently my HTMLHelp files (created by htmlhelp.xsl) uses Australian 
> > as default (not my choice). Maybe you could extend the language code 
> > definition in langcode.xml to contain both a language code and a Country 
> > Code, so that the htmlhelp stylesheet will accept Lang attributes such as en-UK
> 
> I changed the way language code is selected for next release. Language 
> code is now part of localization files, so you can override it same way 
> as any other literal stored in localizations. For lang="en" HTML Help 
> now uses US English.
> 
> 				Jirka
> 
> -- 
> -----------------------------------------------------------------
>    Jirka Kosek  	
>    e-mail: jirka@kosek.cz
>    http://www.kosek.cz
> 






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