mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-11 14:52:54 +01:00
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>
This commit is contained in:
26
library/modules/i18next/i18next-node.md
Normal file
26
library/modules/i18next/i18next-node.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title: i18next
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
<##head##>
|
||||
# i18next
|
||||
|
||||
This is used to register bundles and to set and get the current language.
|
||||
<##head##>
|
||||
|
||||
## Inputs
|
||||
|
||||
**Language**
|
||||
This is a string input that is used to specify the current language. It should be a language code that matches a langugage in the bundle.
|
||||
|
||||
**ChangeLanguage**
|
||||
This signal is used in combination with **Language** to set a new current language. The **Language** string should be a language code, and is matched to a language bundle. For example `en` for English.
|
||||
|
||||
## Outputs
|
||||
|
||||
**LanguageChanged**
|
||||
This is triggered when the current language is changed, as a result of a signal received on **ChangeLanguage**. This is useful if your application needs to take action when the language is changed.
|
||||
|
||||
**CurrentLanguage**
|
||||
Contains the language code of the currently set language.
|
||||
Reference in New Issue
Block a user