[JDEV] <instructions> language

Jens Alfke jens at mac.com
Wed Apr 18 11:34:39 CDT 2001


On Wednesday, April 18, 2001, at 09:05 AM, Peter Saint-Andre wrote:

> Well, it *should* work this way, but you would need a client that could
> read the xml:lang attributes. I don't think we've fully addressed i18n
> issues yet... :(

It might be possible to provide backward compatibility if there were 
consistency in how existing clients dealt with multiple <instructions> 
tags. For example, if they all use the first one and ignore the others, 
then the server could send the one for the "default" language (i.e. the 
language spoken in the server's host country) first, then the ones for 
other languages. Older clients would use the first one only, newer 
clients could pick and choose.

However, my hunch is that whether a client/library uses the first or 
last instance is going to be pretty much random, depending on how the 
developer decided to code that part of the parsing. Maybe the tag for 
the default language could be sent both first and last :-)

—Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1205 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010418/26941519/attachment-0002.bin>


More information about the JDev mailing list