How do we use browser locale in our survey?
Even if the browser locale is bulgarian, it displays in English.
Do we have to ad locale to the suervey then only it works or is there some other way.
Localization - Browser locale
Answers approved by surveyjs Support
Hello,
Survey doesn't set it's locale according the browser locale.
You can set the survey locale programmaticaly via the corresponding property:
Codesurvey.locale = 'de';
List of supported locales available here - https://github.com/surveyjs/survey-library/tree/master/src/localization
Thanks, Serge
SurveyJS Team
Hi
When we tried your date control widget from the custom widget, and we change the locale to Japanese, date is still in english. The way it is written in Japanese is below-
The most commonly used date format in Japan is "year month day (weekday)", with the Japanese characters meaning "year", "month" and "day" inserted after the numerals. Example: 2008年12月31日 (水) for "Wednesday, 31 December, 2008
While your control supports only dd/mm/yyyy or mm/dd/yyyy.
Can you comment on this?
thanks
Creena
Hello,
I've created a separate ticket on your behalf (T2774: SurveyJS Library input culture doesn't automatically changed according the locale). It has been placed in our processing queue and will be answered shortly.
Thanks, Serge
SurveyJS Team