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

SSG Support #872

Closed
underfisk opened this issue Nov 2, 2020 · 1 comment
Closed

SSG Support #872

underfisk opened this issue Nov 2, 2020 · 1 comment

Comments

@underfisk
Copy link

Is your feature request related to a problem? Please describe.

I'm trying to use next18-i18next in a nextjs SSG app, the issue is that it throws constantly warnings in pages that doesn't need translations, other times it only allow loading the translations by receiving through props TFunction and doesn't allow me to use the hook (useTranslation). I set namespacesRequired at getInitialProps and it ignores, even if I use getStaticProps it does

Describe the solution you'd like

I'm not sure if there is any workaround to use with SSG but it would be amazing to

Describe alternatives you've considered

I think that getStaticProps is not being considered but it should in order to support SSG

Additional context

Add any other context or screenshots about the feature request here.

@isaachinman
Copy link
Contributor

Duplicate of #869.

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

2 participants