Migrate to lingui

Switch to "lingui" for better DX.
Tried to persist existing languages as much as possible.

Removed "vite-plugin-node-polyfills" because it's incompatible with "lingui"
This commit is contained in:
schroda
2026-01-10 19:45:02 +01:00
parent c1ac58f4d6
commit 65a9a905be
287 changed files with 120766 additions and 37748 deletions

23
src/i18n/locales.json Normal file
View File

@@ -0,0 +1,23 @@
{
"comment": "!!!IMPORTANT!!!: 'locales' is auto generated by tools/scripts/weblate/generatei18nResources.ts. Do not edit manually.",
"locales": [
"de",
"en",
"es",
"fa",
"fr",
"it",
"ja",
"ko",
"pl",
"pt-BR",
"pt",
"ru",
"ta",
"tr",
"vi",
"zh_Hans",
"zh_Hant"
],
"defaultLocale": "en"
}