Next-translate: [Discussion] With Next v9.5.5

Created on 10 Oct 2020  路  1Comment  路  Source: vinissimus/next-translate

Hi once again!

Next v9.5.5 has been released today, with initial changes for i18n
https://github.com/vercel/next.js/releases/tag/v9.5.5

As far as I have tested, the lang path seems to be automatically generated/handled by next.js,
perhaps eradicating entirely the need for a build step?
How will the library evolve to v1.0.0 given the official i18n rfc?

I'm happy to devote as much as possible to contribute to this awesome library!

Most helpful comment

@shunkakinoki I think it is better to move the discussion into this existing issue: https://github.com/vinissimus/next-translate/issues/129

Initially, when I created this library I did the build-step as a workaround while there was no better solution. Now that it seems that Next.js is focusing on improving support for i18n, I think the most sensible thing is to adapt to its way, eliminating the build-step and other possible workarounds.

I still have doubts about how to support totally static pages (yarn export) without the build-step. Although the Next.js team comments that it is a very small percentage of the people who use Next.js, I myself for example have some projects on CDNs using Next.js + next-translate + yarn export... 馃

That said. I close the issue and we move the discussion to the already open issue to talk about the evolution of this library.

>All comments

@shunkakinoki I think it is better to move the discussion into this existing issue: https://github.com/vinissimus/next-translate/issues/129

Initially, when I created this library I did the build-step as a workaround while there was no better solution. Now that it seems that Next.js is focusing on improving support for i18n, I think the most sensible thing is to adapt to its way, eliminating the build-step and other possible workarounds.

I still have doubts about how to support totally static pages (yarn export) without the build-step. Although the Next.js team comments that it is a very small percentage of the people who use Next.js, I myself for example have some projects on CDNs using Next.js + next-translate + yarn export... 馃

That said. I close the issue and we move the discussion to the already open issue to talk about the evolution of this library.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

giovannipds picture giovannipds  路  4Comments

SpicyPete picture SpicyPete  路  4Comments

HsnVahedi picture HsnVahedi  路  3Comments

mxmtsk picture mxmtsk  路  6Comments

BjoernRave picture BjoernRave  路  7Comments