You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No problem so far.
If I try to get the locale in the Layout through const { locale } = useLocalization(); I get the wrong locale. This means that my Links redirect wrongly. Am I doing something wrong, or is this a bug?
Cheers
The text was updated successfully, but these errors were encountered:
I am hitting the same issue, within the Layout it seems getting locale from useLocalization always get the hard-coded default en not current user's browsing locale page, not my configured default either; believe it's a BUG
BTW, it looks like this repo has many months issues and many PRs pending for months, wonder is it going out of maintenance? from this contributors graph it looks like very low activity since this year 2021 comparing last year
I'd like to make a PR to here but will need some maintainer's response anyway; /cc @LekoArts@theowenyoung ...
I use a Layout Component with a navigation Bar. It is present at every route, so I put it at
gatsby-browser.js
like soNo problem so far.
If I try to get the locale in the
Layout
throughconst { locale } = useLocalization();
I get the wrong locale. This means that my Links redirect wrongly. Am I doing something wrong, or is this a bug?Cheers
The text was updated successfully, but these errors were encountered: