10,730
edits
Line 489: | Line 489: | ||
# Click '''Localization'''. | # Click '''Localization'''. | ||
# Click '''Add''' and select a language, then click '''OK'''. All localizable strings are displayed. | # Click '''Add''' and select a language, then click '''OK'''. All localizable strings are displayed. | ||
# Translate all the strings that you need. | # Translate all the strings that you need. The following strings can be localized: | ||
#* For a questionnaire, the name, description, and result. | |||
#* For a question: label, description, on label, off label, option items, single choice and multiple choice strings | |||
#* For a group: group name | |||
#* You can also add custom strings, see [[Questionnaire_Designer#Localizing_custom_strings|here]]. | |||
# By default, the questionnaire is displayed in the language of the app (configured in [[Setup]]/Settings). Optionally, you can set '''Language Selection''' to '''Selected by User''' so that users can select from the full list of available questionnaire languages. | # By default, the questionnaire is displayed in the language of the app (configured in [[Setup]]/Settings). Optionally, you can set '''Language Selection''' to '''Selected by User''' so that users can select from the full list of available questionnaire languages. | ||
# Save everything and verify the result in the app. | # Save everything and verify the result in the app. | ||
Line 502: | Line 506: | ||
# Edit a language and click '''Add custom string'''. | # Edit a language and click '''Add custom string'''. | ||
# As the name, enter the internal name of the string. As a label, enter the text in the default language. | # As the name, enter the internal name of the string. As a label, enter the text in the default language. Optionally, you can format the string using curly braces, for example, <code>Hello, {0}.</code> | ||
# Click '''OK''' to save the string. | |||
# Add the localized text, then save and close localization. | # Add the localized text, then save and close localization. | ||
# Click '''On Load''' to add a new rule that changes the form caption to the localized string.<br>[[File:Custom string rule.png]] | # Click '''On Load''' to add a new rule that changes the form caption to the localized string.<br>[[File:Custom string rule.png]] |