fix: client locale inference (#10893)

* fix: client locale inference

* Update I18nLanguageHandler.tsx

* More fixes

* Update I18nLanguageHandler.tsx

* Update I18nLanguageHandler.tsx

* Addressing feedback

* Fix: first render issues

* Update Credits.tsx

* Fixed tests

* fix: try without loose locale pick

* Revert "fix: try without loose locale pick"

This reverts commit 5ed649c13117fee8bc507098353de0f18e98d971.

* fix: sorts locales so specifics are chosen first

* fix: switches client locale matcher
This commit is contained in:
Omar López authored and GitHub committed 2023-08-22 20:08:34 +02:00
1 parent 38921e58cd
commit c4b9a9e2f4
4 files changed
+13 -4

No files matched your search

+8
View File
@@ -4871,6 +4871,7 @@ __metadata:
accept-language-parser: ^1.5.0
async: ^3.2.4
autoprefixer: ^10.4.12
bcp-47-match: ^2.0.3
bcryptjs: ^2.4.3
classnames: ^2.3.1
copy-webpack-plugin: ^11.0.0
@@ -14912,6 +14913,13 @@ __metadata:
languageName: node
linkType: hard
"bcp-47-match@npm:^2.0.3":
version: 2.0.3
resolution: "bcp-47-match@npm:2.0.3"
checksum: b36d34a035f1329aeef1db4ebbb0d8d7d6db1e7db920711cdb8ec4948a276b5e75ff84bc007cb0ba71d40c8470d463e5f36486ba48427e72c15c5189ce9c6577
languageName: node
linkType: hard
"bcrypt-pbkdf@npm:^1.0.0":
version: 1.0.2
resolution: "bcrypt-pbkdf@npm:1.0.2"