The translate
tag can be applied to survey elements to give instructions on how the elements should be translated. In addition to accepting 'y' or 'n' as input, Survey Programmers (SPs) can specify the languages for which a survey element should be translated.
Notes: Quota variables are set to translate: n
by default. To force a quota translation, add translate: y
to the quota variable.
Translation overlays will skip standalone words with underscores since the system interprets them as code.
Syntax
The translate
tag or decorator can accept 'y' or 'n' inputs (defaulting to 'y') or language codes to specify which languages a survey element should be translated into.
To alter whether a survey element should be translated or not
translate: y | n
To specify languages to translate a survey element for
translate: languagecode1, languagecode2, ...
Examples
Tag
For survey elements (questions, variables, set lists) that should not be translated, add the translate
tag and set the value to 'n', or to specify a language or group of languages, specify the language codes.
USE. Programming Variable - Products Used type: checkbox selectby: condition optsfrom: PRODUCTS translate: n
Decorator
The translate
decorator works in the same manner as the translate
tag. For options that should not be translated, add translate: n
as a decorator, or to specify a language or group of languages, specify the language codes.
2. A question that will be translated. type: radio 1. French fries 2. Gravy 99. An option that will not be translated {translate: n}
Tip! The translate
decorator is also supported in sheets. See Using decorators in spreadsheets for more information.
Specifying languages
If a question only needs to be translated for a specific language, or set of languages, specify which languages via their language codes.
3. Which of the following countries have you visited? type: checkbox translate: fre, frc, spa, spn 1. USA 2. Canada 3. Puerto Rico 4. Mexico
Specifying languages restricts the software to translating an instance of a text into the specified languages. If there is another exact instance of the text elsewhere in the survey, there might be conflicting translation instructions. To resolve this, either remove the tag to allow translations for all languages or apply unchain: y
on the question where the new translation is needed.
Comments
0 comments
Please sign in to leave a comment.