i18next / i18next-gitbook

165 stars 172 forks source link

Updating API docs for i18next.languages to be more detailed #54

Closed kevin-lindsay-1 closed 6 years ago

kevin-lindsay-1 commented 6 years ago

This should be accurate, if I understood the source code.

Not sure if I like using "en-US-xx", as that's not real, but I couldn't find any examples of variant-level langtags when I looked.

jamuhl commented 6 years ago

guess en-US-xx at least gives the idea. thanks for improving the documentation - really appreciated

kevin-lindsay-1 commented 6 years ago

No problem, thanks for responding so quickly!

I've got a couple other pieces I'd like to write, specifically about the order in which namespaces, languages, and keys are used by the t function, and how the overall flow works for fallbacks.