Hi folks! Thank you for putting out this library. Since the library tagline mentions 'i18n done right', I was wondering if you could provide a brief comparison (pros/cons/tradeoffs) between this library and react-intl (and/or some other prominent react i8n solutions)?
I'm sure it would be super helpful to others as well, who are in the same boat trying to make s decision.
Hm...comparison is hard - as the maintainer of i18next i'm too deep into i18next to make a fair comparison i think: i once made a medium article showing some benefits of i18next over formatjs in general and polyglot: https://medium.com/@jamuhl/i18n-frameworks-the-unfair-showdown-8d436cd6f470
Pro for sure is i18next is not react exclusive - you learn it once and can use it in future in any framework (and believe me react will go some day too ;)) -> https://www.i18next.com/supported-frameworks.html
Further with v6 you can use not only hocs but render props too -> https://react.i18next.com/getting-started.html#basic-sample-using-render-props
vs HOC & Provider: https://react.i18next.com/getting-started.html#basic-sample-using-hoc
Hm than there is the video showing the line behind i18n -> localization -> the process not only instrumentation: https://www.youtube.com/watch?v=9NOzJhgmyQE
Inline components can be translated very easy: https://react.i18next.com/components/trans-component.html
Tradeoffs:
Ideas / Help on how to highlight the pros / cons of react-i18next in comparison to react-intl would be awesome (but i always fear to sound biased)
@jamuhl Thank you for the detailed response, appreciate it. I'll go over it all, before I ask more questions!
Closing for now...feel free to reach out again if having more questions....
Most helpful comment
Hm...comparison is hard - as the maintainer of i18next i'm too deep into i18next to make a fair comparison i think: i once made a medium article showing some benefits of i18next over formatjs in general and polyglot: https://medium.com/@jamuhl/i18n-frameworks-the-unfair-showdown-8d436cd6f470
Pro for sure is i18next is not react exclusive - you learn it once and can use it in future in any framework (and believe me react will go some day too ;)) -> https://www.i18next.com/supported-frameworks.html
Further with v6 you can use not only hocs but render props too -> https://react.i18next.com/getting-started.html#basic-sample-using-render-props
vs HOC & Provider: https://react.i18next.com/getting-started.html#basic-sample-using-hoc
Hm than there is the video showing the line behind i18n -> localization -> the process not only instrumentation: https://www.youtube.com/watch?v=9NOzJhgmyQE
Inline components can be translated very easy: https://react.i18next.com/components/trans-component.html
Tradeoffs:
Ideas / Help on how to highlight the pros / cons of react-i18next in comparison to react-intl would be awesome (but i always fear to sound biased)