[JDEV] <instructions> language

Neeme Praks neeme at one.lv
Mon Apr 23 12:37:35 CDT 2001


> -----Original Message-----
> From: David Waite
> Sent: Wednesday, April 18, 2001 7:35 PM
>
> I'm thinking something a bit more like:
>
> <iq type='get' to='some.transport.server.com'><query
> xmlns='jabber:iq:register' xml:lang="it"/></iq>
>
> Transports which do not support the xml:lang attribute or which just
> don't have an italian translation for the instructions would return
> english.
>
> A non-english client would need to also take the registration
> field names
> (the tag names) which are predefined and represent them correctly in
> whatever language within the client.

I would prefer something more similar to the HTTP Accept-Language header
where the client is able to specify more than one language and give them
different weights.
And I would leave for someone else to figure out how it would look under
Jabber. :-)

Neeme





More information about the JDev mailing list