Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(i18n) add i18next compatible IDE-extension for i18n handling

Nils Jacobsen5297252efbd2
diff --git a/inlang.config.js b/inlang.config.js
new file mode 100644
index 0000000000..bbc5cd6bc3
--- /dev/null
+++ b/inlang.config.js
@@ -0,0 +1,23 @@
+/**
+ * @type { import("@inlang/core/config").DefineConfig }
+ */
+export async function defineConfig(env) {
+ const { default: i18nextPlugin } = await env.$import(
+ 'https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@2/dist/index.js'
+ );
+
+ const { default: standardLintRules } = await env.$import(
+ 'https://cdn.jsdelivr.net/npm/@inlang/plugin-standard-lint-rules@3/dist/index.js'
+ );
+
+ return {
+ referenceLanguage: 'main',
+ plugins: [
+ i18nextPlugin({
+ pathPattern: 'lang/{language}.json',
+ ignore: [ 'languages.json', 'translation-languages.json' ]
+ }),
+ standardLintRules()
+ ]
+ };
+}