feat: Ukrainian translation, UAH currency, shopping category i18n (closes #52)

- Add Ukrainian (uk) locale to SUPPORTED_LOCALES and locale picker
- Add public/locales/uk.json (622 keys, full Ukrainian translation)
- Add UAH (Ukrainian Hryvnia) to SUPPORTED_CURRENCIES and VALID_CURRENCIES
- Add CATEGORY_I18N map and catLabel() in settings.js to translate default
  shopping category names in the settings panel; rename and delete dialogs
  now also use the translated name instead of the raw German DB string
- Align server VALID_CURRENCIES with frontend: add missing AED, BRL, INR, SAR

Co-Authored-By: baragoon <baragoon@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ulas Kalayci
2026-04-18 22:09:42 +02:00
parent 4aca9f4189
commit 6746a5a175
7 changed files with 657 additions and 7 deletions
+1
View File
@@ -22,6 +22,7 @@ const LOCALE_LABELS = {
ar: 'العربية',
hi: 'हिन्दी',
pt: 'Português',
uk: 'Українська',
};
class OikosLocalePicker extends HTMLElement {