User Tools

Site Tools


ddalphabetize

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ddalphabetize [2023/09/25 08:13] – [langs] adminddalphabetize [2023/09/25 08:14] (current) – [langs] admin
Line 41: Line 41:
 **langs** is an object for mapping Qualtrics language codes to valid JavaScript locale languages for correct sorting. It is only needed if the Qualtrics language code doesn't resolve to a valid JavaScript locale language code. Of the built-in Qualtrics languages, only ZH-S (Simplified Chinese) and ZH-T (Traditional Chinese) don't resolve, but they are included in the **langs** object by default. **langs** is an object for mapping Qualtrics language codes to valid JavaScript locale languages for correct sorting. It is only needed if the Qualtrics language code doesn't resolve to a valid JavaScript locale language code. Of the built-in Qualtrics languages, only ZH-S (Simplified Chinese) and ZH-T (Traditional Chinese) don't resolve, but they are included in the **langs** object by default.
  
-If you have created your own language code, you made need to add your language to the langs object if it doesn't automatically resolve. A new language specification would look like %%langs:{"XX":"yy"}%%.+If you have created your own language code, you made need to add your language to the **langs** object if it doesn't automatically resolve. A new language specification would look like %%langs:{"XX":"yy"}%%.
 ==== qlang ==== ==== qlang ====
 **qlang** is the Qualtrics language code string that should be used to do the alphabetization. By default, this is the current language of the survey.  **qlang** is the Qualtrics language code string that should be used to do the alphabetization. By default, this is the current language of the survey. 
ddalphabetize.1695644033.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki