Conversations
Conversations copied to clipboard
Communicate device language
General information
- Version: 2.8.5+fcr
- Device: Jolla 1
- Android Version: Android 4.2.2 (uncertain)
- Server name: self hosted
- Server software: Prosody trunk, especially after this commit
- Installed server modules: Carbons.
- Conversations source: F-Droid
Steps to reproduce
- Have Conversations in non-default/English locale.
- Send a message to someone with an XML console open.
- Observe XML, note the
@xml:langattribute.
Expected result
<message xml:lang="sv">
Or whatever language / locale the device or Conversations is set to.
Actual result
<message xml:lang="en">
Rationale
Allows translation of responses by automated remote entities, e.g. in error messages etc.
Note that this has privacy implications.
Note that this has privacy implications.
It could default to 'en' and use the systems language only after opt-in.