Closed
Description
opened on Sep 28, 2023
Environment
- Operating System:
Darwin
- Node Version:
v18.15.0
- Nuxt Version:
-
- CLI Version:
3.9.0
- Nitro Version:
-
- Package Manager:
unknown
- Builder:
-
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
i18n/docs/content/3.options/2.routing.md
Lines 40 to 42 in 6394a48
Describe the bug
The name iso
here is not quite accurate and I think it can be changed to something like language
. If it is too late to update it due to backward compatibility concerns, at least the description in the docs here can be updated.
Both navigator.language(s) and Accept-Language refer to BCP 47 and the IANA Language Subtag Registry, which is based on underlying standards, including the various parts of ISO 639 (639-1, 639-2, 639-3, etc.), ISO 15924 script codes, ISO 3166, and UN M.49 region codes.
Additional context
Related information:
- https://www.w3.org/International/questions/qa-choosing-language-tags.en.html
- https://www.w3.org/International/articles/language-tags/index
- https://www.w3.org/International/questions/qa-accept-lang-locales.en.html
- https://www.w3.org/TR/international-specs/#lang_values
Logs
No response
Activity