Files
noodl-docs/library/modules/i18next/README.md
Eric Tuvesson 53f0d6320e Initial commit
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com>
Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com>
Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com>
Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
2023-09-05 12:08:55 +02:00

15 lines
665 B
Markdown

---
title: i18next Module
hide_title: true
---
# i18next Module
Module for using [i18next](https://www.i18next.com) in Noodl.
The module has three nodes, _i18next_, _Language Bundle_ and _Translation_.
- i18next node is used to keep track of current language and to change the language
- Language Bundle holds the resources (i.e. localized texts) for a specific language
- Translation retrieves the correct translation for a specific string (identified by a key) from the currently selected language. If the current language changes, all strings are updated accordingly.
An example with the most common cases can be found [here](/library/examples/localization).