Allow Lingui to use linguiLocale with country identifiers like en-us
, it would always load en
in this case. Introced a new useLocale
hook to use the correct locale string to use in Intl methods.#2196
Merged
paales merged 5 commits intocanary from fix/linguiApr 22, 2024
+133-54
Commits
Commits on Apr 22, 2024
- committed
- committed
- committed
- committed