Aral Roca Gomez

Results 463 comments of Aral Roca Gomez

translations are loaded in getStaticProps. I suppose that if you have the fallback, the pages that use the fallback do not load anything (translations or whatever you put inside the...

@berndartmueller `ctx.t` is different in every render. The `useMemo` with `lang` dependency was introduced here https://github.com/vinissimus/next-translate/pull/574 to fix this issue https://github.com/vinissimus/next-translate/issues/513#issuecomment-779826418 . Do you think that because of useMemo the...

> I am not sure is it caused by the same reason but when i return `{ notFound: true }` in `getServerSideProps`, the translation will also missing > > ```js...

I didn't know that next-translate didn't work in Server Components... I haven't even tried it. So there was no plan because I didn't know it didn't work. What is the...

Sorry but this feature is not implemented yet ๐Ÿ˜• Please feel free to PR if you need it ๐Ÿค— How i18next manage this with other namespaces? ```js { "one": "one",...

You should provide the `i18nProvider` on top to add the language and namespaces to the context. In theory, this is not necessary for pages because in the build process each...

@JerryPan did you try using [DynamicNamespaces](https://github.com/vinissimus/next-translate#dynamicnamespaces)?

@JerryPan did you finally try the DynamicNamespaces for this? It should work

In theory, these files should be ignored https://github.com/vinissimus/next-translate/blob/016de4bf5c571a1d628a9f7e489ae695df7d43e6/src/plugin/utils.ts#L42-L49 unless now in vercel it starts with something other than /api. It works well without next-translate ๐Ÿคจ?