taxonomy icon indicating copy to clipboard operation
taxonomy copied to clipboard

Internationalization / i18n

Open amannn opened this issue 2 years ago • 9 comments

Would you be interested in supporting i18n in this app? I'm the maintainer of next-intl, an internationalization library for Next.js. I just added support for Next.js 13 and the app folder in the latest version (docs).

The latest version includes a drop-in middleware replacement for the i18n routing that Next.js previously provided, but which was removed for the app folder. At this time, Client Components are fully supported by next-intl and support for Server Components is in beta.

If you'd be interested, I could help to set this up in Taxonomy—just let me know!

amannn avatar Dec 12 '22 17:12 amannn

Sure. Let me check it out.

shadcn avatar Dec 13 '22 15:12 shadcn

@shadcn let's have this as a priority, please 🙏🙂

Just-Moh-it avatar Apr 10 '23 03:04 Just-Moh-it

Does anyone know if there is a nice/fair comparison table for all the i18n libs out there?

corysimmons avatar Apr 11 '23 00:04 corysimmons

I made it work with i18next

If someone interested

link

And take middleware options from js version it works

yersultanur avatar May 01 '23 02:05 yersultanur

Any updates on next-intl?

benyamynbrkyc avatar May 03 '23 19:05 benyamynbrkyc

Any updates on next-intl?<

better use nextjs built-in internalization options, i18next have issues with client rendering, found this example below, all works pretty good example

yersultanur avatar May 03 '23 19:05 yersultanur

Any updates on next-intl?<

better use nextjs built-in internalization options, i18next have issues with client rendering, found this example below, all works pretty good example

Just checked it out, it is pretty good. I see the translations are sourced from JSON files in the dictionaries folder. Is the preferred way of managing these files something like a build step? So far, I've just written scripts to fetch/update the files. Is there another, perhaps more principled way?

benyamynbrkyc avatar May 03 '23 19:05 benyamynbrkyc

Any updates on next-intl?<

better use nextjs built-in internalization options, i18next have issues with client rendering, found this example below, all works pretty good example

Just checked it out, it is pretty good. I see the translations are sourced from JSON files in the dictionaries folder. Is the preferred way of managing these files something like a build step? So far, I've just written scripts to fetch/update the files. Is there another, perhaps more principled way?

I don't think so, I made it from his example, but most of it was also written on the beta version of nextjs docs, some must be written, and some can depend on your preference and works pretty well for me. I tried some versions, the best option I found for now is this one. but all of them have issues with middleware, updating public folder files in the app. You just turn off the export config options of the translator and reload the page, and it works fine.

yersultanur avatar May 05 '23 03:05 yersultanur

Now that next-intl v3 released in Novemver 2023 with stable Server Components support what is the status of this?

BearCooder avatar Jan 17 '24 20:01 BearCooder