Locale not enforced as setup in .json
See original GitHub issueHEAD develop (d25010d5d7e5e53a020c24ea69cac64e58d266c5) To Reproduce Set
...
"padOptions": {
"lang": "XX"
...
Expected behavior No matter what locale the browser asks for, my language set as above is used by the UI.
Actual results If browser locale is “EN”, etherpad-lite is in English If browser locale is “XX”, etherpad-lite is in XX
Desktop (please complete the following information):
- OS: Windows
- Browser Firefox, Vivaldi
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
etherpad-lite Locale not enforced as setup in .json - JavaScript
Expected behavior No matter what locale the browser asks for, my language set as above is used by the UI. Actual results If...
Read more >Locale settings from JSON not being applied
I'm translating text for a different market and I'm updating the locale.json file. Inside the en.default.json file I got the following:.
Read more >problem when loading the .json · Issue #32 - GitHub
Hi, i followed the setup guide , i am using webpack , when i run the server i get GET http://localhost:8080/assets/locale-en.json 404 (Not ......
Read more >How to import a JSON file in ECMAScript 6? - Stack Overflow
In TypeScript or using Babel, you can import json file in your code. // Babel import * as data from './example.json'; const word...
Read more >How to translate JSON files: guide to l10n & i18n with examples
As you can see, we've put our French locale language resources inside it. Similarly, let's not forget to add an “it ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Because my users are (geographically) on a certain locale that I’d like to enforce.
The fact that you don’t/won’t use this is a moot point. 😃
Is the bug valid?