We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes the user provides (via the Accept-Language header) a list of languages that they know:
Accept-Language
Accept-Language: en-US;q=0.8,es;q=0.5,ja;q=0.3
since the user is providing a list of languages, it might be helpful to accept that list as fallbacks.
For instance, based on that header, I would generate this list:
en-US es ja
and I would expect it to fallback like this:
en-US en es ja
Perhaps the locale could accept a string or an array of strings? What do you think?
locale
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sometimes the user provides (via the
Accept-Language
header) a list of languages that they know:since the user is providing a list of languages, it might be helpful to accept that list as fallbacks.
For instance, based on that header, I would generate this list:
and I would expect it to fallback like this:
Perhaps the
locale
could accept a string or an array of strings? What do you think?The text was updated successfully, but these errors were encountered: