Next-translate: What's the core javascript package for translation? i18next or react-i18next ?

Created on 19 Nov 2020  路  3Comments  路  Source: vinissimus/next-translate

Thanks for this nice way of internationalization.

I'm just wondering which javascript package is used for the actual translation: "i18next" or "react-i18next" ?

Most helpful comment

@HsnVahedi in 0.20 version you probably will have another way: https://github.com/vinissimus/next-translate/issues/225 馃槉

All 3 comments

Hi @HsnVahedi the next-translate package has no external dependencies, so the translations are implemented in the next-translate package itself. One of next-translate's goals is to be a small library, so having an external dependency like i18next was not an option. Hope it helps!

Oh! That's awesome. Actually I was wondering if the "Trans" component is the same as in "react-i18next". They offer multiple ways of using "Trans" component.

But There's only one in "next-translate".

@HsnVahedi in 0.20 version you probably will have another way: https://github.com/vinissimus/next-translate/issues/225 馃槉

Was this page helpful?
0 / 5 - 0 ratings