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:
+1
-1
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user