Creating polls in multiple languages
When using the Polls application on a multilingual website, you can choose from two options:
You can create a new poll for every language - this is useful if you wish to track votes for different cultures/countries of your website separately.
Different polls for different languagesYou can create a single poll for all languages and localize it using in-place localization expressions
- In this case, all votes are tracked together. In order to learn how to localize strings of the poll, please refer to Localizing text fields. You can find more detailed information on these expressions in Macro expressions.
If you want to create a single localized poll, you have to enter localization macro expressions into the corresponding text fields. For example, if you want to have your poll both in the website default language and in Czech, the macro must be entered in the {$=Default string|cs-cz=Czech string$} format.
To localize a poll
Edit () the poll that you want to localize.
Use localization expressions for the following fields:
- Display name
- Question
- Message after vote
Click Save.
Switch to the Answers tab.
Edit () an answer.
Enter the localization expression into the Answer text text field.
Click Save.
Localize the rest of the answers as well.
You can also use basic localization macros to localize your polls. These are entered in the {$string.key$} format. To learn more about this type of localization, refer to Localizing text fields.