Hello,
How set the default language by the code for editor ?
Actualy it's english but i want to change this.
Thanks
Hello,
How set the default language by the code for editor ?
Actualy it's english but i want to change this.
Thanks
Hello Gregory,
Here is the documentation for changing the locale for Editor: https://surveyjs.io/Documentation/Builder/#localization
and for library: https://surveyjs.io/Documentation/Library/#localization
Thank you,
Andrew
SurveyJS Team
Hello,
Of course survey.onAfterRenderPage
is in v1.0.99. It was available already for over a year.
Thank you,
Andrew
SurveyJS Team
After upgrading v 1.0.81 to v 1.0.99 , I am getting following error when ok button is clicked on Edit Question dialog box
core.js:14597 ERROR TypeError: Cannot read property 'onElementEditorClosed' of undefined
at survey-creator.js:6181
at Object.afterClose (survey-creator.js:1553)
at RModal._doClose (survey-creator.js:13824)
at RModal.close (survey-creator.js:13803)
at SurveyQuestionEditor.editor.onHideWindow (survey-creator.js:1561)
at SurveyQuestionEditor.doCloseWindow (survey-creator.js:1685)
at SurveyQuestionEditor.self.onOkClick (survey-creator.js:1629)
at HTMLInputElement.<anonymous> (knockout-latest.js:100)
After upgrading to v 1.0.99 I am not getting method getUsedLocales().
Getting following compilation error -
ERROR in projects/survey-webapp/src/app/components/survey-response/survey-response.component.ts(105,59): error TS2339: Property 'getusedLocales'
does not exist on type 'ISurvey'.
Please ignore this issue I found method getUsedLocales() & its working properly.
Hello Gregory,
I highly suggest you to add the selector outside the survey widget instead of using onAfterRender event. It would make your life easier and you should avoid weird problems. This is how it works in "Test Survey" tab.
Thank you,
Andrew
SurveyJS Team
Hi Gregory,
If I add any language on Translation tab , surveyModel.getUsedLocales() returns selected languages.
If I deselect language check box on translation tab an invoke surveyModel.getUsedLocales() it still returns same value.
I don't want deselected language to be fetched in surveyModel.getUsedLocales() method. How this can be achieved ?
Regards,
Yuvraj
Hello,
I've created a separate ticket on your behalf (T2408: Deselect languages in Translation tab). It has been placed in our processing queue and will be answered shortly.