Skip to content

How to fallback to language code if country code is not in supported locales? #505

@erdmenchen

Description

@erdmenchen

I have the following issue (maybe a configuration issue?):
I have en defined in the supported locales and default language set to de.
useAcceptLanguageHeader is set to true.

When browser requests en-US via Accept-Language-Header, the de locale is set.
How to specify, that it should fall back to en if en-US is not available?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions