OpenClinica / enketo-oc

OpenClinica's fork of the Enketo web forms monorepo
Apache License 2.0
0 stars 1 forks source link

Enketo Not Correctly Displaying Back Button Text Based on API lang Parameter #30

Open eprager412 opened 8 months ago

eprager412 commented 8 months ago

Describe the bug Enketo Not Correctly Displaying Back Button Text Based on API lang parameter. When the form is displayed in English the "Back" button is still displayed in German. The form is defined only with English text and being called with the lang=de parameter.

To Reproduce

1:Open attached form with lang=de in mode /edit/fs/c/i/ (In my case I had my browser locale set to DE/Berlin)

defaultLANGandenLANG.xform.txt

2: Go to the second page

Expected behavior All buttons, close, next, and back, are in the same language English.

Actual behavior Back button is in DE while Close and Next are in EN.

Screenshots

image

MartijnR commented 8 months ago

http://localhost:8005/single/fs/i/bXGNUgh1?ecid=1&lang=de