Harmony Translations
Codeberg Translate
TBD
How to Make Use of Translations Within Harmony
This is for people wanting to work on Harmonies codebase, not translators.
To use translations within Harmony, you need to access the i18n property of the request.
const str = req.i18n.key1.key2("param1");
this would work for an en.json that looks something like
{
"key1":{
"key2": "The first parameter is $1"
}
}
If you're using the string in a non-standard way, please add the value to the same key in the qqq.json translation documentation file.