Re: Stand-Alone lunar calendar



> > XML can be internationalized, but I don't remember exactly how.  
> > E-mail Daniel Veillard if you can't figure it out, I guess.
> 
>   XML has a xml:lang="..." attribute which is dedicated to tag
> the language of that document subtree. The best way is then to
> have sibling elements in ths structure carrying each a different
> xml:lang attribute and with the proper localized content
> 
>   <info>
>       <descr xml:lang="en">Some english text</descr>
>       <descr xml:lang="fr_FR">Pareil en francais</descr>
>       <descr xml:lang="fr_CA">Si ma tante avait des gosses ...</descr>
>   </info>
> 
> 

Does libxml handle this natively - or do I have to handle it in my 
parser. e.g. do i have to check the user's locale and g_print the correct 
message or do I just g_print the message and it'll show up correctly?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]