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

Naming the default language misses some columns #2629

Open
jnm opened this issue Apr 14, 2020 · 0 comments
Open

Naming the default language misses some columns #2629

jnm opened this issue Apr 14, 2020 · 0 comments
Labels
Back end bug Things broken and not working as expected check-if-stale

Comments

@jnm
Copy link
Member

jnm commented Apr 14, 2020

depends on kobotoolbox/formpack#214
discussion: https://www.flowdock.com/app/kobotoolbox/support/threads/PPk29hNVryqbLTS6zWJHKpqDxOp

What happens

Upload an XLSForm like:

type name label constraint constraint_message required required_message guidance_hint hint
text Name What is your name? . = 'Rabbit' Constraint Message Check (English) 1 Required Message Check (English) Guidance Hint Message Check (English) Hint Message Check (English)

Click "Manage Translations", and set "Default language name" to English and "Default language code" to en. Click "SET".

Now, view the XLSForm, e.g. at https://[kpi-host]/assets/[asset-uid]/xls/, and notice that only the label and hint columns have had the ::English (en) suffix appended:

type name label::English (en) hint::English (en) required constraint guidance_hint required_message constraint_message
text Name What is your name? Hint Message Check (English) 1 . = 'Rabbit' Guidance Hint Message Check (English) Required Message Check (English) Constraint Message Check (English)

What's expected

guidance_hint, required_message, and constraint_message should all have ::English (en) appended. Other translatable columns may exist; verify by checking https://xlsform.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back end bug Things broken and not working as expected check-if-stale
Projects
None yet
Development

No branches or pull requests

2 participants