Improve language selector (#5487)

* Improve language selector

* Add Germany to German

* Run prepr:frontend

* Remove `'` in icon map

* Add Italy to Italian
This commit is contained in:
Jerozgen
2026-03-09 00:33:41 +03:00
committed by GitHub
parent 43eb53eda5
commit 913dee9090
71 changed files with 318 additions and 1906 deletions

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "العربية (المملكة العربية السعودية)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "المملكة العربية السعودية \nالعربية السعودية"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Čeština (Česko)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "ČR\nČesky"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Dansk"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Dansk\nDanmark"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Deutsch (Schweiz)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Schweiz\nDE\nDEU\nDE_CH\nCH\nSwitzerland\nGerman"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Deutsch (Deutschland)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Deutschland\nDeutsch\nHochdeutsch\nDE\nDEU\nGerman\nGermany\nGER"
}
}

View File

@@ -542,6 +542,102 @@
"label.yes": {
"defaultMessage": "Yes"
},
"locale.cs-CZ": {
"defaultMessage": "Czech"
},
"locale.da-DK": {
"defaultMessage": "Danish"
},
"locale.de-CH": {
"defaultMessage": "German (Switzerland)"
},
"locale.de-DE": {
"defaultMessage": "German (Germany)"
},
"locale.en-US": {
"defaultMessage": "English (United States)"
},
"locale.es-419": {
"defaultMessage": "Spanish (Latin America)"
},
"locale.es-ES": {
"defaultMessage": "Spanish (Spain)"
},
"locale.fi-FI": {
"defaultMessage": "Finnish"
},
"locale.fil-PH": {
"defaultMessage": "Filipino"
},
"locale.fr-FR": {
"defaultMessage": "French"
},
"locale.he-IL": {
"defaultMessage": "Hebrew"
},
"locale.hu-HU": {
"defaultMessage": "Hungarian"
},
"locale.id-ID": {
"defaultMessage": "Indonesian"
},
"locale.it-IT": {
"defaultMessage": "Italian (Italy)"
},
"locale.ja-JP": {
"defaultMessage": "Japanese"
},
"locale.ko-KR": {
"defaultMessage": "Korean"
},
"locale.ms-MY": {
"defaultMessage": "Malay"
},
"locale.nl-NL": {
"defaultMessage": "Dutch"
},
"locale.no-NO": {
"defaultMessage": "Norwegian Bokmål"
},
"locale.pl-PL": {
"defaultMessage": "Polish"
},
"locale.pt-BR": {
"defaultMessage": "Portuguese (Brazil)"
},
"locale.pt-PT": {
"defaultMessage": "Portuguese (Portugal)"
},
"locale.ro-RO": {
"defaultMessage": "Romanian"
},
"locale.ru-RU": {
"defaultMessage": "Russian"
},
"locale.sr-CS": {
"defaultMessage": "Serbian (Latin)"
},
"locale.sv-SE": {
"defaultMessage": "Swedish"
},
"locale.th-TH": {
"defaultMessage": "Thai"
},
"locale.tr-TR": {
"defaultMessage": "Turkish"
},
"locale.uk-UA": {
"defaultMessage": "Ukrainian"
},
"locale.vi-VN": {
"defaultMessage": "Vietnamese"
},
"locale.zh-CN": {
"defaultMessage": "Chinese (Simplified)"
},
"locale.zh-TW": {
"defaultMessage": "Chinese (Traditional)"
},
"modal.add-payment-method.action": {
"defaultMessage": "Add payment method"
},

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "English (United States)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "USA\nAmerican English"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Español (Latinoamérica)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "ES\nMX\nSpanish\nCastellano\nLATAM\nEspañol latinoamericano"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Inglés (Estados Unidos)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "EE. UU.\nInglés Americano"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Finnish (Suomi)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "USA\nAmerikkalainen Englanti"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Filipino"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "-"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Anglais (États-Unis)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "France\nFrançais"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Hebrew (Israel) עברית"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "ישראל\nIsrael\nHebrew"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Magyar"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Magyarország\nmagyar"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Bahasa Indonesia"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Indonesia\nBahasa Indonesia\nIndonesian\nIND\nID"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Italiano (Italia)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "ITA\nItaliano"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "日本語"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Japan\nJapanese\n日本\n日本語"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "한국어 (대한민국)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "대한민국\n한국어"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Bahasa Melayu"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Melayu\nMalaysia\nBahasa Melayu\nBahasa Malaysia\nMalay\nMS\nMY"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Nederlands (Nederland)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "NL\nNederlands\nNederland\nDutch\nVlaams\nBelgië"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Norsk (Bokmål)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Norway\nNorwegian"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Polski"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Polska\nPolski"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Português (Brasil)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Brasil\nPortuguês do Brasil\nBrasileiro\nPortuguês brasileiro\npt-br\nptbr"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Português (Portugal)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Português\nPortuguês Europeu\nPT\npt-pt\nPortuguês Portugal\nPortugal"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Română (România)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "SUA\nEngleză Americană"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Русский"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Россия\nРусский\nРусский язык\nРоссийский\nРФ\nРоссийская Федерация\nRussian\nRussia"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Srpski (Latinica)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "SRB\nSrbija"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Engelska (USA)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "USA\nAmerikansk Engelska"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "ภาษาอังกฤษ (สหรัฐอเมริกา)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "ภาษาไทย"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Türkçe"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "TR\nTurkey\nTürkiye\nTurkish"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Українська"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Ukraine\nUkrainian\nUA\nУкраїна\nМова"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "Tiếng Anh (Hoa Kỳ)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Vietnamese"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "简体中文(中国大陆)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "China\nChinese\nSimplified Chinese\nChinese Simplified\n简体中文\n华文\n汉语\n华语\n中文\n中国"
}
}

View File

@@ -0,0 +1,10 @@
{
"displayName": {
"description": "Please enter the name of the language in its specific variant or regional form (e.g., English (US) for American English, not just English). If the language does not have any specific variant, simply enter the name of the language (e.g., Français, Deutsch).",
"message": "正體中文(臺灣)"
},
"searchTerms": {
"description": "Please provide additional search terms associated with the language, if needed, to enhance the search functionality (e.g., American English, Deutschland). Each search term should be entered on a separate line. Translate as a hyphen (-) if no additional terms are needed.",
"message": "Taiwan\nChinese\nTraditional Chinese\nChinese Traditional\nTC\n正體\n繁體\n繁中\n中文\n漢語\n華語\n臺灣\n台灣"
}
}