Software:I18next

From HandWiki
i18next
I18next logo.png
Developer(s)Jan Mühlemann
Adriano Raiano
Stable release
v23.4.5[1]
Repositorygithub.com/i18next/i18next/
Written inJavaScript
Operating systemCross-platform
TypeInternationalization (i18n) framework
LicenseMIT License[2]
Websitei18next.com

i18next is an internationalization framework written in and for JavaScript.[3] It's a library that can be integrated into any application code.[4] It provides methods for product localization and other standard i18n features[5] like interpolation, formatting, and handling plurals and context.[6] It can be used with Node.js, Deno,[7] PHP, IOS, Android, and other platforms.[8] i18next feels like “learn once - translate everywhere.”[9]

History

i18next was created by its open source creators Jan Mühlemann and Adriano Raiano[7] in 2011, because they were in search of an internalization library that allows it to run both on server-side Node.js and client-side single-page applications. In 2015, version 2 was released with a complete rebuild of i18next. Later on, react-i18next was introduced.[10] While i18next provides a translation engine, the react-i18next offers hooks and components for managing translations in React components.[11]

After creating i18next, the same creators founded a new service called locize. The localization as a service is a translation management system built around the i18next ecosystem.[7]

This illustration shows how the i18next ecosystem works

Features

i18next claims to provide the following:

  • Flexible connection to a backend
  • Optional caching, user language detection
  • Proper pluralizations
  • Translation context
  • Nesting, variable replacement
  • Flexibility: Use it everywhere[7]

References

  1. "Release v23.4.5". https://github.com/i18next/i18next/releases/tag/v23.4.5. 
  2. "i18next LICENSE". https://github.com/i18next/i18next/blob/master/LICENSE. 
  3. Hurlburt, Danny (2017-10-24). "I18n with React and i18next | DigitalOcean" (in en). https://www.digitalocean.com/community/tutorials/react-i18n-with-react-and-i18next. 
  4. Cizmar, Jan (2022-09-08). "What is the difference between i18n and i18next?" (in en). https://tolgee.io/blog/difference-between-i18n-and-i18next. 
  5. Krukowski, Ilya (2023-03-31). "Go Global with React and i18next: A Comprehensive Tutorial for Internationalizing Your React App" (in en-US). https://lokalise.com/blog/how-to-internationalize-react-application-using-i18next/. 
  6. Giuliani, Facundo; Fukuzaki, Arisa (2023-02-21). "Getting Internationalization (i18n) Right With Remix And Headless CMS" (in en). https://www.smashingmagazine.com/2023/02/internationalization-i18n-right-remix-headless-cms-storyblok/. 
  7. 7.0 7.1 7.2 7.3 "Contributors to i18next/i18next" (in en). https://github.com/i18next/i18next. 
  8. "Introduction - i18next documentation". 2023-08-15. https://web.archive.org/web/20230815101235/https:/www.i18next.com/. 
  9. Ashour, Mohammad (2020-09-04). "A Guide to React Localization with i18next" (in en-US). https://phrase.com/blog/posts/localizing-react-apps-with-i18next/. 
  10. "The history of i18next". https://www.i18next.com/misc/the-history-of-i18next. 
  11. "React localization with i18next and react-i18next libraries" (in en). 2023-07-27. https://www.bigbinary.com/blog/react-localization.