collect icon indicating copy to clipboard operation
collect copied to clipboard

When in the device settings there is a RTL language set, the RTL alignment is applied in some parts of Collect although in Collect there is LTR language set

Open dbemke opened this issue 1 year ago • 1 comments

ODK Collect version

the store version 2023.1.2, the master version 30b67ea28cbf3f1507523b4db70783e129ff2250

Android version

10, 11, 13

Device used

Redmi 9T, Galaxy M12, emulated Android 13

Problem description

When in the device settings there is a RTL language set, the RTL alignment is applied in some parts of Collect although in Collect there is LTR language set.

RTL parts appear in:

  • lists of forms in: Fill Blank Form, Edit Saved Form, Get Blank Form, Delete Saved Form
  • the hierarchy view in forms

https://user-images.githubusercontent.com/56479916/234272761-971de3d0-76de-4a3f-ba98-0087fb9910ec.mp4

Steps to reproduce the problem

  1. Go to device settings and change language to RTL language (if in settings you need add a language to reproduce the issue probably you’ll need to remove English).
  2. Go to the main screen of the device to check the language.
  3. Go to Collect (if necessary in settings→ User interface→ Language choose English).
  4. Go to Fill Blank Form and check the alignment.
  5. Open All widgets form and go to the hierarchy view and check the alignment.

Expected behavior

If in Collect settings there is a LTR language chosen it should be applied in all parts of the app.

dbemke avatar Apr 25 '23 12:04 dbemke