surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.12k stars 802 forks source link

Use en-gb instead of en-UK for English UK #8311

Closed Niveshkrishna closed 4 months ago

Niveshkrishna commented 4 months ago

Are you requesting a feature, reporting a bug or asking a question?

bug

What is the current behavior?

en-uk is the wrong locale code for the English UK

What is the expected behavior?

It should use en-gb as per iso https://www.andiamo.co.uk/resources/iso-language-codes/

How would you reproduce the current behavior (if this is a bug)?

Provide the test code and the tested page URL (if applicable)

Tested page URL:

Test code

your_code_here

Specify your

andrewtelnov commented 4 months ago

@Niveshkrishna I could not find any code related to "en-uk" in our code except our unit tests. I have corrected the tests. Probably I missed something. Could you point me where did you find the issue?

Thank you, Andrew