enhancement: Added Localization to the app
Added Localization to the app (English, Spanish) Users can add translations in .json format in the /src/lib/lang folder and then register them in the I18n Svelte component Maybe someone knows how to dinamically load everything in the /lang folder so you don't need to register them manually Some strings are still missing to be updated, I'm setting up my environment to have Radarr, Sonarr and Jellyfin Followed this guide to add Localization to Reiverr: https://phrase.com/blog/posts/a-step-by-step-guide-to-svelte-localization-with-svelte-i18n-v3/
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
"@fontsource/fira-mono": "^4.5.10",
|
||||
"@neoconfetti/svelte": "^1.0.0",
|
||||
"@playwright/test": "^1.28.1",
|
||||
"@rollup/plugin-json": "^6.0.0",
|
||||
"@sveltejs/adapter-auto": "^2.0.0",
|
||||
"@sveltejs/adapter-node": "^1.3.1",
|
||||
"@sveltejs/kit": "^1.5.0",
|
||||
@@ -53,6 +54,7 @@
|
||||
"hls.js": "^1.4.6",
|
||||
"openapi-fetch": "^0.2.1",
|
||||
"radix-icons-svelte": "^1.2.1",
|
||||
"svelte-i18n": "^3.7.0",
|
||||
"tailwind-scrollbar-hide": "^1.1.7"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user