[JDEV] Internationalization

Simon Fell jabber at zaks.demon.co.uk
Sun Nov 4 13:20:07 CST 2001


On Sun, 4 Nov 2001 19:50:28 +0100, in jabber you wrote:

>It is really time there was more I18n stuff in Jabber. Most important 
>is stuff like the "help" text supplied by iq:register, or the text 
>used in iq:gateway.
>
>
>I think we should standarize an attribute that can carry a locale, in 
>this wonderfuly normed format, e.g. I could use de_DE. This would be 
>used in various places:
>
>* in <presence> to indicate the prefered locale of the client.
>* in <iq> to indicate the desired locale for e.g. iq:register / iq:gateway
>* possibly even for <message> to denote the language a give message 
>was written in, although i fail right now to see much purpose behind 
>this (well maybe if we couple it with automatic translation :)
>
>
>GC would also take advantage of this to locaize messages like "foo is 
>now known as bar" or "quux has changed the subject to Test".

xml:lang seems like the right way to go
http://www.w3.org/TR/2000/REC-xml-20001006#sec-lang-tag

Cheers
Simon
www.pocketsoap.com



More information about the JDev mailing list