Skip to content
New issue

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

It is not possible to provide fallbackLng to i18next #159

Open
burakozdemir32 opened this issue Oct 19, 2022 · 1 comment
Open

It is not possible to provide fallbackLng to i18next #159

burakozdemir32 opened this issue Oct 19, 2022 · 1 comment

Comments

@burakozdemir32
Copy link

Currently, defaultLanguage is provided to i18next and it overrides the one provided in i18nextOptions.

i18next fallback setting: https://www.i18next.com/principles/fallback#fallback-to-different-languages

Overriding happens:
https://github.com/microapps/gatsby-plugin-react-i18next/blob/master/src/plugin/wrapPageElement.tsx#L143

@burakozdemir32
Copy link
Author

Could you please check this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant