Initial logic for i18n

This commit is contained in:
kngako
2022-10-14 02:35:09 +02:00
parent de797faa79
commit fcfdc60c41
8 changed files with 6673 additions and 0 deletions

14
index.js Normal file
View File

@@ -0,0 +1,14 @@
const i18nUtil = require("./lib/i18n-util")
module.exports.getText = i18nUtil.getText
console.log("Basic: ", this.getText(
"en",
"lowBalancePleaseIncrease",
{
balance: 100,
currencyTicker: "ZAR",
requestedAmount: 110
}
))