mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-05-20 20:55:36 +00:00
✨ **Add Latvian translations and enhance localization support**
- ➕ Added Latvian (`lv`) JSON translations and validation/password localization files. - 🛠️ Updated `lang-country` config to include `lv-LV` and centralized language definitions. - 🌐 Extended sidebar and navigation with new translatable strings. - ➕ Introduced 72px width customization for the sidebar layout. - ✅ Improved timezone mapping in Nostr publishing commands (added `Europe/Riga`). - 🛠️ Refactored language selector to dynamically source available languages from the config.
This commit is contained in:
@@ -29,6 +29,7 @@ return [
|
||||
'it-CH',
|
||||
'it-IT',
|
||||
'lt-LT',
|
||||
'lv-LV',
|
||||
'nl-BE',
|
||||
'nl-NL',
|
||||
'ps-AF',
|
||||
@@ -42,4 +43,15 @@ return [
|
||||
'lang_switcher_uri' => 'change_lang_country',
|
||||
|
||||
'fallback_based_on_current_locale' => false,
|
||||
|
||||
'languages' => [
|
||||
'de' => ['name' => 'Deutsch', 'countries' => ['de-DE', 'de-AT', 'de-CH']],
|
||||
'en' => ['name' => 'English', 'countries' => ['en-GB', 'en-US', 'en-AU', 'en-CA']],
|
||||
'es' => ['name' => 'Español', 'countries' => ['es-ES', 'es-CL', 'es-CO']],
|
||||
'hu' => ['name' => 'Magyar', 'countries' => ['hu-HU']],
|
||||
'lv' => ['name' => 'Latviešu', 'countries' => ['lv-LV']],
|
||||
'nl' => ['name' => 'Nederlands', 'countries' => ['nl-NL', 'nl-BE']],
|
||||
'pl' => ['name' => 'Polski', 'countries' => ['pl-PL']],
|
||||
'pt' => ['name' => 'Português', 'countries' => ['pt-PT']],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user