feat(i18n): add Swedish (sv) translation and Italian as explicit language option (#19)

Swedish translation contributed by @olsson82 (PR #19), integrated with
minor corrections (dayShortSunday: Sun → Sön, amountLabel aligned with
v0.11.2, new v0.11.2 currency keys added).

Italian was already supported server-side but is now explicitly listed
in the locale picker alongside German, English, and Swedish.
This commit is contained in:
Ulas
2026-04-05 12:01:16 +02:00
parent 446b9b1388
commit 3a6ae4a64a
5 changed files with 561 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
* Dependencies: none (vanilla JS, Fetch API, Intl API)
*/
const SUPPORTED_LOCALES = ['de', 'en', 'it'];
const SUPPORTED_LOCALES = ['de', 'en', 'it', 'sv'];
const DEFAULT_LOCALE = 'de';
const STORAGE_KEY = 'oikos-locale';