Buy Licenses Contact Support Login/Register
v 1.5.10
Overview Survey Creator Examples Docs Source Download
v 1.5.10


Localize Survey Creator strings and properties

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

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


var creatorOptions = { };
var creator = new SurveyCreator.SurveyCreator("creatorElement", creatorOptions);
creator.showToolbox = "right";
creator.showPropertyGrid = "right";

<!DOCTYPE html>
<html lang="en">
    <title>Localize Survey Creator strings and properties, Survey Creator Example</title>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src=""></script>
<script src=""></script>
    <script src="" type="text/javascript" charset="utf-8"></script>
    <script src="" type="text/javascript" charset="utf-8"></script>
    <!-- Uncomment to enable Select2
    <script src=""></script>
    <link href="" rel="stylesheet" />
    <script src=""></script>
    <link href="" type="text/css" rel="stylesheet" />
    <script src=""></script>
    <link rel="stylesheet" href="">
    <link rel="stylesheet" href="./index.css">

        <div id="surveyContainer">
        <div id="creatorElement"></div>

<script type="text/javascript" src="./index.js"></script>



Please make a pull request of your localization to Editor Localization Files.

You have to localize the defaultStrings variable located in english.ts

The example of localization SurveyJS Library strings are here.