Conversations icon indicating copy to clipboard operation
Conversations copied to clipboard

Communicate device language

Open Zash opened this issue 5 years ago • 1 comments

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

  1. Have Conversations in non-default/English locale.
  2. Send a message to someone with an XML console open.
  3. Observe XML, note the @xml:lang attribute.

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.

Zash avatar Jun 21 '20 18:06 Zash

Note that this has privacy implications.

It could default to 'en' and use the systems language only after opt-in.

mdosch avatar Aug 08 '22 04:08 mdosch