pyxmpp2 icon indicating copy to clipboard operation
pyxmpp2 copied to clipboard

Language support for stanza content

Open Jajcus opened this issue 13 years ago • 0 comments

Currently language is only negotiated and set for the stream root. In XMPP any XML element containing readable text can have a language specified and usually can be provided in many language versions. Details are described in RFC 6120.

In particular the following elements can have alternate languages:

  • Stream error and stanza error elements
  • Message stanza
  • and
  • Presence stanza

All these should be handled with the same API, probably using some 'multi-language string' type instead of plain unicode for appropriate properties.

Jajcus avatar Jul 01 '11 11:07 Jajcus