Accessing i18n configuration from localeDetector #2875
Unanswered
lewebsimple
asked this question in
Q&A
Replies: 1 comment
-
There is only access to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When using a path strategy which uses prefixes, the locale detector should be able to determine the current locale from the path prefix using
new URL(event.headers.get("Referer") || "")
The only problem is accessing the i18n configuration from
defineI18nLocaleDetector
... is this possible ?Beta Was this translation helpful? Give feedback.
All reactions