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.

    Polls in different languages
    Different polls for different languages

  • You 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

  1. Edit () the poll that you want to localize.

  2. Use localization expressions for the following fields:

    • Display name

    • Question

    • Message after vote

      Localizing a poll

  3. ClickSave.

  4. Switch to the Answers tab.

  5. Edit () an answer.

  6. Enter the localization expression into the Answer text text field.

    Localizing a poll answer

  7. Click Save.

  8. 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.