[Standards] I18N and disco#items

Peter Saint-Andre stpeter at stpeter.im
Wed Nov 9 23:35:45 UTC 2011

On 11/9/11 4:32 PM, Mike Wacker wrote:
> Since an item node for a disco#items query has a name attribute for a
> natural-language name, does that mean that item nodes should also have a
> corresponding xml:lang attribute?
> For disco#info queries, the potential need for an xml:lang attribute is
> called out in XEP-0030, section 3.1 [Basic Protocol for disco#info]
> (although it's never reference in the schema). But there's no mention of
> xml:lang at all in section 4.1 [Basic Protocol for disco#items].
> However, it wouldn't be too hard to find a context where the results of
> a disco#items query would be displayed to the user, which would seem to
> suggest internationalization is necessary here.

XMPP is an XML technology, thus xml:lang is allowed on any element. 
Naturally, we could add an example of that to XEP-0030.


Peter Saint-Andre

More information about the Standards mailing list