Set the URL for a form in a certain language

Hi @masims,

Welcome to the community! You could do the same as outlined below:

Suppose you wish to provide a default survey link that supports German language:

  1. In the survey tab of your xlsform:
  2. Deploy the survey project.
  3. Get the URL as you would normally get.
  4. Suppose i got a URL after deploying my survey project https://ee.kobotoolbox.org/x/ZQXrvQqL.
  5. In the end of the URL add ?lang=de which becomes https://ee.kobotoolbox.org/x/ZQXrvQqL?lang=de.
  6. You should see your data entry screen in Enketo as:

Note: The ?lang=... determines the language of your survey form you wish to have while entering with Enketo. Just add the 2 letter code (en for English; hi for Hindi, ar for Arabic; cs for Czech; de for German; el for Greek; es for Spanish; fa for Persian; fi for Finnish; fr for French; it for Italian; lo for Lao; nl for Dutch; nb for Norwegian; pl for Polish; pt for Portuguese; ro for Romanian; ru for Russian; sk for Slovak; sq for Albanian; sv for Swedish; sw for Swahili; vi for Vietnamese and zh for Chinese) that you used while coding the language in your xlsform (survey tab).

Reference xlsform:
Language Test.xlsx (10.3 KB)

Additional; If you do not specify the ?lang=... at the end of the survey link, you will be directed to the language that the browser supports by default.

Have a great day!

2 Likes