Language Short Codes
This article describes the language short codes and how they are utilized within a survey.
Background
Language short codes are used to quickly and easily represent a language and location a survey is available in. They are used within translations files when exporting content from a survey and are especially important when importing content into a survey.
Creating Language Short Codes for a Survey
Language short codes are created automatically when you add a new language/country to a survey through the Localization menu in the Build & Edit Tool.
If you have not added a language/locale before, see the article below:
- See article: Adding Languages
Determining Language Short Codes within your Survey
You can easily find the Language Short Codes for your survey through the Localization menu:
- Go into the 'Build & Edit' Tool for Survey Authoring/Programming
- Access the 'Localization' card to work with you translations
- See article: Translations: Accessing Translations/Localizations
To determine the Language Short Code for a language and country:
- Find the language and country combination row you are looking for.
- In the LANGUAGE column of the row take the shorthand version of the language (located directly under the full version); in this example the language is 'English' and the short version is 'en'.
- In the COUNTRY column of the row take the shorthand version of the country (located directly under the full version); as exemplified below, the language is 'United States' and the short version is 'US'.
- Lastly combine the short version of the language from step 2 with the short version of the country from step 3 with a hyphen in the middle, CASE MATTERS! In the above example the Language Short Code is: en-US