Source code: Survey setup

//Create your translation
var deutschStrings = {
    p: {
        isRequired : "Wird benötigt"
    }
};

//Set the your translation to the locale
SurveyEditor.editorLocalization.locales["de"] = deutschStrings;
//Make this locale the current
//SurveyEditor.editorLocalization.currentLocale = "de";
//Make french locale active
SurveyEditor.editorLocalization.currentLocale = "fr";

var editor = new SurveyEditor.SurveyEditor("editorElement");

Localication

Please make a pull request of your localization toEditor Localization Files.

You have to localize the defaultStrings variable located ineditorLocalization.ts

The example of localization survey js strings arehere.

results matching ""

    No results matching ""