Question T870
Visible to All Users

Multiple locale text

created 7 years ago

Is it possible to make and edit multilanguage survey in Editor (like this: https://www.surveyjs.io/Examples/Library/survey-localization?id=survey-multilanguages&platform=jQuery&theme=default )?

How can I do it?

Comments (1)

    Hello,

    Survey is localized out-of-the-box (https://github.com/surveyjs/surveyjs/tree/master/src/localization)..) You can choose corresponding locale for survey in the editor:
    Clipboard-File-1.png

    Answers

    created 7 years ago

    Wow! Great!
    Now thinking about control that make locale choice for 'Test Survey' for testing all used (Ok, simple all) locales and not depend on current website locale.

    And… could I limit choices in 'locale' control showed above?

      Comments (1)

        Sure (https://plnkr.co/edit/WtNEMW34LDI7fr0dPvDB?p=preview)

        JavaScript
        ["de", "fr", "ru"].forEach(function(localeName) { delete Survey.surveyLocalization.locales[localeName]; });

        Thanks, Serge
        SurveyJS Team