Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language support for stanza content #50

Open
Jajcus opened this issue Jul 1, 2011 · 0 comments
Open

Language support for stanza content #50

Jajcus opened this issue Jul 1, 2011 · 0 comments

Comments

@Jajcus
Copy link
Owner

Jajcus commented Jul 1, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant