Next 18 n or i18n
Hi there. Thanks by the boilerplate. It is possible to add multi language? Next 18 n or i18n And add redux or I should I use context API?
Thanks in advance Best Shintaro
Hi @ShintaroNippon,
It's something I want to add the multi language.
Now, most of time I suggest context API instead of Redux. But, it's totally based on you context, sometime you need to continue using Redux.
Thanks.
Hi @ixartz,
In my opinion we must add Multi Language infrastructure as base feature in this project so this project will be useful for people. And I want contribute to this project with this feature infrastructure..
Thanks.
Totally agree with @resatyildiz, it's definitively useful to add it as a base feature. I'm currently focusing on the testing part by adding Jest, Cypress, etc. As an indie developer, my resources are limited. So, all help are welcome for multi language.
May I ask you that how this is going now? Was PR #39 not merged because the next-i18next breaks next export? Sorry for asking such a basic question.
I think the boilerplate should support all features from Next.js. At that time, implementing next-i18next will break next export.
Totally open to any suggestion without breaking any Next.js features.
I see some library doing the opposite: implementing i18n in next export but breaking other features.
I'm using ParaglideJS as an i18n solution in my personal project, maybe you could see if it's suitable to be included in this boilerplate.
Documentation: https://inlang.com/m/gerre34r/library-inlang-paraglideJs How to integrate into App Router: https://inlang.com/g/wxcebbig/guide-lorissigrist-useParaglideJsWithNextjsAppRouter Page Router: https://inlang.com/g/uxohikde/guide-lorissigrist-useParaglideJsWithNextjsPagesRouter
I'm actively working to add i18n into the boilerplate using next-intl: https://next-intl-docs.vercel.app
Type-safe, support page and app router, i18n routing, etc. I should release the i18n support in the upcoming weeks.
Finally, i18n is now official supported in Next.js Boilerplate: https://github.com/ixartz/Next-js-Boilerplate/pull/196
Thank you for all your support and feedback.
Also, if you need a translation software, please check out Crowdin: https://l.crowdin.com/next-js They are now an official sponsor of the project.