Skip to content

Build your personal knowledge base with Trilium Notes

i18n: Set up i18next

Elian Doran33d6d51d59dc
diff --git a/package-lock.json b/package-lock.json
index 9f7814ddfa..683413b859 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -42,6 +42,7 @@
"html2plaintext": "2.1.4",
"http-proxy-agent": "7.0.2",
"https-proxy-agent": "7.0.4",
+ "i18next": "^23.12.2",
"image-type": "4.1.0",
"ini": "3.0.1",
"is-animated": "2.0.2",
@@ -7457,6 +7458,28 @@
"ms": "^2.0.0"
}
},
+ "node_modules/i18next": {
+ "version": "23.12.2",
+ "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.12.2.tgz",
+ "integrity": "sha512-XIeh5V+bi8SJSWGL3jqbTEBW5oD6rbP5L+E7dVQh1MNTxxYef0x15rhJVcRb7oiuq4jLtgy2SD8eFlf6P2cmqg==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://locize.com"
+ },
+ {
+ "type": "individual",
+ "url": "https://locize.com/i18next.html"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
+ }
+ ],
+ "dependencies": {
+ "@babel/runtime": "^7.23.2"
+ }
+ },
"node_modules/iconv-corefoundation": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/iconv-corefoundation/-/iconv-corefoundation-1.1.7.tgz",
@@ -19154,6 +19177,14 @@
"ms": "^2.0.0"
}
},
+ "i18next": {
+ "version": "23.12.2",
+ "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.12.2.tgz",
+ "integrity": "sha512-XIeh5V+bi8SJSWGL3jqbTEBW5oD6rbP5L+E7dVQh1MNTxxYef0x15rhJVcRb7oiuq4jLtgy2SD8eFlf6P2cmqg==",
+ "requires": {
+ "@babel/runtime": "^7.23.2"
+ }
+ },
"iconv-corefoundation": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/iconv-corefoundation/-/iconv-corefoundation-1.1.7.tgz",
diff --git a/package.json b/package.json
index 9165cc5d2c..6d4b0cc088 100644
--- a/package.json
+++ b/package.json
@@ -66,6 +66,7 @@
"html2plaintext": "2.1.4",
"http-proxy-agent": "7.0.2",
"https-proxy-agent": "7.0.4",
+ "i18next": "^23.12.2",
"image-type": "4.1.0",
"ini": "3.0.1",
"is-animated": "2.0.2",