mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-12 15:22:53 +01:00
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>
15 lines
665 B
Markdown
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).
|