feat(i18n): new package for locales (#249)
* feat(i18n): new package for locales We are renaming from zh-CN to zh-Hans with the naming regulation of BCP 47 language tags. For future languages, suggesting to check & lookup on - [Language subtag lookup app](https://r12a.github.io/app-subtags/) - [iana.org/assignments/language-subtag-registry/language-subtag-registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) to search on. Additionally, use `en` for English is actually enforced instead of having `en-Latin`. More resources and citations worth to check on: - https://developer.mozilla.org/en-US/docs/Glossary/BCP_47_language_tag - https://en.wikipedia.org/wiki/IETF_language_tag - https://en.wikipedia.org/wiki/ISO_15924
This commit is contained in:
Vendored
+3
-4
@@ -1,11 +1,10 @@
|
||||
{
|
||||
"i18n-ally.sourceLanguage": "en",
|
||||
"i18n-ally.keystyle": "nested",
|
||||
"i18n-ally.localesPaths": [
|
||||
"apps/stage-web/locales",
|
||||
"apps/stage-tamagotchi/locales"
|
||||
"packages/i18n/src/locales"
|
||||
],
|
||||
"i18n-ally.sortKeys": true,
|
||||
"i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
|
||||
"i18n-ally.namespace": true,
|
||||
"i18n-ally.enabledFrameworks": [
|
||||
"vue"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user