8000 [Intl] Provide more locale translations by ro0NL · Pull Request #35517 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Intl] Provide more locale translations #35517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private function generateLocaleName(BundleEntryReaderInterface $reader, string $
// Discover the name of the region part of the locale
// i.e. in de_AT, "AT" is the region
if ($region = \Locale::getRegion($locale)) {
if (!RegionDataGenerator::isValidCountryCode($region)) {
if (ctype_alpha($region) && !RegionDataGenerator::isValidCountryCode($region)) {
throw new MissingResourceException('Skipping "'.$locale.'" due an invalid country.');
}

Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Component/Intl/Resources/data/locales/af.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"am": "Amharies",
"am_ET": "Amharies (Ethiopië)",
"ar": "Arabies",
"ar_001": "Arabies (Wêreld)",
"ar_AE": "Arabies (Verenigde Arabiese Emirate)",
"ar_BH": "Arabies (Bahrein)",
"ar_DJ": "Arabies (Djiboeti)",
Expand Down Expand Up @@ -94,6 +95,8 @@
"el_CY": "Grieks (Siprus)",
"el_GR": "Grieks (Griekeland)",
"en": "Engels",
"en_001": "Engels (Wêreld)",
Comment on lines 97 to +98
Copy link
Contributor Author
@ro0NL ro0NL Jan 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from a user perspective, this creates 2 entries in the Locale form type. It may be confusing 🤔 but i tend to believe it should be filtered manually, if desired.

ie. en (no region) vs en_001 (world region) could be considered equivalent, whereas the first may assume 001 for a region implicitly ... but that's outside our domain

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the user may select en_001 to explicitly provide a region and opt out from some specific region (hence "world"), whereas in case of "en" the app may assume any region.

Fine as-is for me 👍

"en_150": "Engels (Europa)",
"en_AE": "Engels (Verenigde Arabiese Emirate)",
"en_AG": "Engels (Antigua en Barbuda)",
"en_AI": "Engels (Anguilla)",
Expand Down Expand Up @@ -197,7 +200,9 @@
"en_ZM": "Engels (Zambië)",
"en_ZW": "Engels (Zimbabwe)",
"eo": "Esperanto",
"eo_001": "Esperanto (Wêreld)",
"es": "Spaans",
"es_419": "Spaans (Latyns-Amerika)",
"es_AR": "Spaans (Argentinië)",
"es_BO": "Spaans (Bolivië)",
"es_BR": "Spaans (Brasilië)",
Expand Down Expand Up @@ -329,6 +334,7 @@
"hy": "Armeens",
"hy_AM": "Armeens (Armenië)",
"ia": "Interlingua",
"ia_001": "Interlingua (Wêreld)",
"id": "Indonesies",
"id_ID": "Indonesies (Indonesië)",
"ig": "Igbo",
Expand Down Expand Up @@ -572,6 +578,7 @@
"xh": "Xhosa",
"xh_ZA": "Xhosa (Suid-Afrika)",
"yi": "Jiddisj",
"yi_001": "Jiddisj (Wêreld)",
"yo": "Yoruba",
"yo_BJ": "Yoruba (Benin)",
"yo_NG": "Yoruba (Nigerië)",
Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Component/Intl/Resources/data/locales/am.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"am": "አማርኛ",
"am_ET": "አማርኛ (ኢትዮጵያ)",
"ar": "ዓረብኛ",
"ar_001": "ዓረብኛ (ዓለም)",
"ar_AE": "ዓረብኛ (የተባበሩት ዓረብ ኤምሬትስ)",
"ar_BH": "ዓረብኛ (ባህሬን)",
"ar_DJ": "ዓረብኛ (ጂቡቲ)",
Expand Down Expand Up @@ -94,6 +95,8 @@
"el_CY": "ግሪክኛ (ሳይፕረስ)",
"el_GR": "ግሪክኛ (ግሪክ)",
"en": "እንግሊዝኛ",
"en_001": "እንግሊዝኛ (ዓለም)",
"en_150": "እንግሊዝኛ (አውሮፓ)",
"en_AE": "እንግሊዝኛ (የተባበሩት ዓረብ ኤምሬትስ)",
"en_AG": "እንግሊዝኛ (አንቲጓ እና ባሩዳ)",
"en_AI": "እንግሊዝኛ (አንጉይላ)",
Expand Down Expand Up @@ -197,7 +200,9 @@
"en_ZM": "እንግሊዝኛ (ዛምቢያ)",
"en_ZW": "እንግሊዝኛ (ዚምቧቤ)",
"eo": "ኤስፐራንቶ",
"eo_001": "ኤስፐራንቶ (ዓለም)",
"es": "ስፓንሽኛ",
"es_419": "ስፓንሽኛ (ላቲን አሜሪካ)",
"es_AR": "ስፓንሽኛ (አርጀንቲና)",
"es_BO": "ስፓንሽኛ (ቦሊቪያ)",
"es_BR": "ስፓንሽኛ (ብራዚል)",
Expand Down Expand Up @@ -329,6 +334,7 @@
"hy": "አርመናዊ",
"hy_AM": "አርመናዊ (አርሜኒያ)",
"ia": "ኢንቴርሊንጓ",
"ia_001": "ኢንቴርሊንጓ (ዓለም)",
"id": "ኢንዶኔዥኛ",
"id_ID": "ኢንዶኔዥኛ (ኢንዶኔዢያ)",
"ig": "ኢግቦኛ",
Expand Down Expand Up @@ -574,6 +580,7 @@
"xh": "ዞሳኛ",
"xh_ZA": "ዞሳኛ (ደቡብ አፍሪካ)",
"yi": "ይዲሽኛ",
"yi_001": "ይዲሽኛ (ዓለም)",
"yo": "ዮሩባዊኛ",
"yo_BJ": "ዮሩባዊኛ (ቤኒን)",
"yo_NG": "ዮሩባዊኛ (ናይጄሪያ)",
Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Component/Intl/Resources/data/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"am": "الأمهرية",
"am_ET": "الأمهرية (إثيوبيا)",
"ar": "العربية",
"ar_001": "العربية (العالم)",
"ar_AE": "العربية (الإمارات العربية المتحدة)",
"ar_BH": "العربية (البحرين)",
"ar_DJ": "العربية (جيبوتي)",
Expand Down Expand Up @@ -94,6 +95,8 @@
"el_CY": "اليونانية (قبرص)",
"el_GR": "اليونانية (اليونان)",
"en": "الإنجليزية",
"en_001": "الإنجليزية (العالم)",
"en_150": "الإنجليزية (أوروبا)",
"en_AE": "الإنجليزية (الإمارات العربية المتحدة)",
"en_AG": "الإنجليزية (أنتيغوا وبربودا)",
"en_AI": "الإنجليزية (أنغويلا)",
Expand Down Expand Up @@ -197,7 +200,9 @@
"en_ZM": "الإنجليزية (زامبيا)",
"en_ZW": "الإنجليزية (زيمبابوي)",
"eo": "الإسبرانتو",
"eo_001": "الإسبرانتو (العالم)",
"es": "الإسبانية",
"es_419": "الإسبانية (أمريكا اللاتينية)",
"es_AR": "الإسبانية (الأرجنتين)",
"es_BO": "الإسبانية (بوليفيا)",
"es_BR": "الإسبانية (البرازيل)",
Expand Down Expand Up @@ -329,6 +334,7 @@
"hy": "الأرمنية",
"hy_AM": "الأرمنية (أرمينيا)",
"ia": "اللّغة الوسيطة",
"ia_001": "اللّغة الوسيطة (العالم)",
"id": "الإندونيسية",
"id_ID": "الإندونيسية (إندونيسيا)",
"ig": "الإيجبو",
Expand Down Expand Up @@ -574,6 +580,7 @@
"xh": "الخوسا",
"xh_ZA": "الخوسا (جنوب أفريقيا)",
"yi": "اليديشية",
"yi_001": "اليديشية (العالم)",
"yo": "اليوروبا",
"yo_BJ": "اليوروبا (بنين)",
"yo_NG": "اليوروبا (نيجيريا)",
Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Component/Intl/Resources/data/locales/as.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"am": "আমহাৰিক",
"am_ET": "আমহাৰিক (ইথিঅ’পিয়া)",
"ar": "আৰবী",
"ar_001": "আৰবী (বিশ্ব)",
"ar_AE": "আৰবী (সংযুক্ত আৰব আমিৰাত)",
"ar_BH": "আৰবী (বাহৰেইন)",
"ar_DJ": "আৰবী (জিবুটি)",
Expand Down Expand Up @@ -94,6 +95,8 @@
"el_CY": "গ্ৰীক (চাইপ্ৰাছ)",
"el_GR": "গ্ৰীক (গ্ৰীচ)",
"en": "ইংৰাজী",
"en_001": "ইংৰাজী (বিশ্ব)",
"en_150": "ইংৰাজী (ইউৰোপ)",
"en_AE": "ইংৰাজী (সংযুক্ত আৰব আমিৰাত)",
"en_AG": "ইংৰাজী (এণ্টিগুৱা আৰু বাৰ্বুডা)",
"en_AI": "ইংৰাজী (এনগুইলা)",
Expand Down Expand Up @@ -197,7 +200,9 @@
"en_ZM": "ইংৰাজী (জাম্বিয়া)",
"en_ZW": "ইংৰাজী (জিম্বাবৱে)",
"eo": "এস্পেৰান্তো",
"eo_001": "এস্পেৰান্তো (বিশ্ব)",
"es": "স্পেনিচ",
"es_419": "স্পেনিচ (লেটিন আমেৰিকা)",
"es_AR": "স্পেনিচ (আৰ্জেণ্টিনা)",
"es_BO": "স্পেনিচ (বলিভিয়া)",
"es_BR": "স্পেনিচ (ব্ৰাজিল)",
Expand Down Expand Up @@ -329,6 +334,7 @@
"hy": "আৰ্মেনীয়",
"hy_AM": "আৰ্মেনীয় (আৰ্মেনিয়া)",
"ia": "ইণ্টাৰলিংগুৱা",
"ia_001": "ইণ্টাৰলিংগুৱা (বিশ্ব)",
"id": "ইণ্ডোনেচিয়",
"id_ID": "ইণ্ডোনেচিয় (ইণ্ডোনেচিয়া)",
"ig": "ইগ্বো",
Expand Down Expand Up @@ -568,6 +574,7 @@
"xh": "হোছা",
"xh_ZA": "হোছা (দক্ষিণ আফ্রিকা)",
"yi": "ইদ্দিছ",
"yi_001": "ইদ্দিছ (বিশ্ব)",
"yo": "ইউৰুবা",
"yo_BJ": "ইউৰুবা (বেনিন)",
"yo_NG": "ইউৰুবা (নাইজেৰিয়া)",
Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Component/Intl/Resources/data/locales/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"am": "amhar",
"am_ET": "amhar (Efiopiya)",
"ar": "ərəb",
"ar_001": "ərəb (Dünya)",
"ar_AE": "ərəb (Birləşmiş Ərəb Əmirlikləri)",
"ar_BH": "ərəb (Bəhreyn)",
"ar_DJ": "ərəb (Cibuti)",
Expand Down Expand Up @@ -94,6 +95,8 @@
"el_CY": "yunan (Kipr)",
"el_GR": "yunan (Yunanıstan)",
"en": "ingilis",
"en_001": "ingilis (Dünya)",
"en_150": "ingilis (Avropa)",
"en_AE": "ingilis (Birləşmiş Ərəb Əmirlikləri)",
"en_AG": "ingilis (Antiqua və Barbuda)",
"en_AI": "ingilis (Angilya)",
Expand Down Expand Up @@ -197,7 +200,9 @@
"en_ZM": "ingilis (Zambiya)",
"en_ZW": "ingilis (Zimbabve)",
"eo": "esperanto",
"eo_001": "esperanto (Dünya)",
"es": "ispan",
"es_419": "ispan (Latın Amerikası)",
"es_AR": "ispan (Argentina)",
"es_BO": "ispan (Boliviya)",
"es_BR": "ispan (Braziliya)",
Expand Down Expand Up @@ -329,6 +334,7 @@
"hy": "erməni",
"hy_AM": "erməni (Ermənistan)",
"ia": "interlinqua",
"ia_001": "interlinqua (Dünya)",
"id": "indoneziya",
"id_ID": "indoneziya (İndoneziya)",
"ig": "iqbo",
Expand Down Expand Up @@ -574,6 +580,7 @@
"xh": "xosa",
"xh_ZA": "xosa (Cənub Afrika)",
"yi": "idiş",
"yi_001": "idiş (Dünya)",
"yo": "yoruba",
"yo_BJ": "yoruba (Benin)",
"yo_NG": "yoruba (Nigeriya)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"am": "амһар",
"am_ET": "амһар (Ефиопија)",
"ar": "әрәб",
"ar_001": "әрәб (Дүнја)",
"ar_AE": "әрәб (Бирләшмиш Әрәб Әмирликләри)",
"ar_BH": "әрәб (Бәһрејн)",
"ar_DJ": "әрәб (Ҹибути)",
Expand Down Expand Up @@ -94,6 +95,8 @@
"el_CY": "јунан (Кипр)",
"el_GR": "јунан (Јунаныстан)",
"en": "инҝилис",
"en_001": "инҝилис (Дүнја)",
"en_150": "инҝилис (Авропа)",
"en_AE": "инҝилис (Бирләшмиш Әрәб Әмирликләри)",
"en_AG": "инҝилис (Антигуа вә Барбуда)",
"en_AI": "инҝилис (Анҝилја)",
Expand Down Expand Up @@ -197,7 +200,9 @@
"en_ZM": "инҝилис (Замбија)",
"en_ZW": "инҝилис (Зимбабве)",
"eo": "есперанто",
"eo_001": "есперанто (Дүнја)",
"es": "испан",
"es_419": "испан (Латын Америкасы)",
"es_AR": "испан (Арҝентина)",
"es_BO": "испан (Боливија)",
"es_BR": "испан (Бразилија)",
Expand Down Expand Up @@ -329,6 +334,7 @@
"hy": "ермәни",
"hy_AM": "ермәни (Ермәнистан)",
"ia": "интерлингве",
"ia_001": "интерлингве (Дүнја)",
"id": "индонезија",
"id_ID": "индонезија (Индонезија)",
"ig": "игбо",
Expand Down Expand Up @@ -570,6 +576,7 @@
"xh": "хоса",
"xh_ZA": "хоса (Ҹәнуб Африка)",
"yi": "идиш",
"yi_001": "идиш (Дүнја)",
"yo": "јоруба",
"yo_BJ": "јоруба (Бенин)",
"yo_NG": "јоруба (Ниҝерија)",
Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Component/Intl/Resources/data/locales/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"am": "амхарская",
"am_ET": "амхарская (Эфіопія)",
"ar": "арабская",
"ar_001": "арабская (Свет)",
"ar_AE": "арабская (Аб’яднаныя Арабскія Эміраты)",
"ar_BH": "арабская (Бахрэйн)",
"ar_DJ": "арабская (Джыбуці)",
Expand Down Expand Up @@ -94,6 +95,8 @@
"el_CY": "грэчаская (Кіпр)",
"el_GR": "грэчаская (Грэцыя)",
"en": "англійская",
"en_001": "англійская (Свет)",
"en_150": "англійская (Еўропа)",
"en_AE": "англійская (Аб’яднаныя Арабскія Эміраты)",
"en_AG": "англійская (Антыгуа і Барбуда)",
"en_AI": "англійская (Ангілья)",
Expand Down Expand Up @@ -197,7 +200,9 @@
"en_ZM": "англійская (Замбія)",
"en_ZW": "англійская (Зімбабвэ)",
"eo": "эсперанта",
"eo_001": "эсперанта (Свет)",
"es": "іспанская",
"es_419": "іспанская (Лацінская Амерыка)",
"es_AR": "іспанская (Аргенціна)",
"es_BO": "іспанская (Балівія)",
"es_BR": "іспанская (Бразілія)",
Expand Down Expand Up @@ -329,6 +334,7 @@
"hy": "армянская",
"hy_AM": "армянская (Арменія)",
"ia": "інтэрлінгва",
"ia_001": "інтэрлінгва (Свет)",
"id": "інданезійская",
"id_ID": "інданезійская (Інданезія)",
"ig": "ігба",
Expand Down Expand Up @@ -572,6 +578,7 @@
"xh": "коса",
"xh_ZA": "коса (Паўднёва-Афрыканская Рэспубліка)",
"yi": "ідыш",
"yi_001": "ідыш (Свет)",
"yo": "ёруба",
"yo_BJ": "ёруба (Бенін)",
"yo_NG": "ёруба (Нігерыя)",
Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Component/Intl/Resources/data/locales/bg.json
< 10000 /tr>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"am": "амхарски",
"am_ET": "амхарски (Етиопия)",
"ar": "арабски",
"ar_001": "арабски (свят)",
"ar_AE": "арабски (Обединени арабски емирства)",
"ar_BH": "арабски (Бахрейн)",
"ar_DJ": "арабски (Джибути)",
Expand Down Expand Up @@ -94,6 +95,8 @@
"el_CY": "гръцки (Кипър)",
"el_GR": "гръцки (Гърция)",
"en": "английски",
"en_001": "английски (свят)",
"en_150": "английски (Европа)",
"en_AE": "английски (Обединени арабски емирства)",
"en_AG": "английски (Антигуа и Барбуда)",
"en_AI": "английски (Ангуила)",
Expand Down Expand Up @@ -197,7 +200,9 @@
"en_ZM": "английски (Замбия)",
"en_ZW": "английски (Зимбабве)",
"eo": "есперанто",
"eo_001": "есперанто (свят)",
"es": "испански",
"es_419": "испански (Латинска Америка)",
"es_AR": "испански (Аржентина)",
"es_BO": "испански (Боливия)",
"es_BR": "испански (Бразилия)",
Expand Down Expand Up @@ -329,6 +334,7 @@
"hy": "арменски",
"hy_AM": "арменски (Армения)",
"ia": "интерлингва",
"ia_001": "интерлингва (свят)",
"id": "индонезийски",
"id_ID": "индонезийски (Индонезия)",
"ig": "игбо",
Expand Down Expand Up @@ -574,6 +580,7 @@
"xh": "ксоса",
"xh_ZA": "ксоса (Южна Африка)",
"yi": "идиш",
"yi_001": "идиш (свят)",
"yo": "йоруба",
"yo_BJ": "йоруба (Бенин)",
"yo_NG": "йоруба (Нигерия)",
Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Component/Intl/Resources/data/locales/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"am": "আমহারিক",
"am_ET": "আমহারিক (ইথিওপিয়া)",
"ar": "আরবী",
"ar_001": "আরবী (পৃথিবী)",
"ar_AE": "আরবী (সংযুক্ত আরব আমিরাত)",
"ar_BH": "আরবী (বাহরাইন)",
"ar_DJ": "আরবী (জিবুতি)",
Expand Down Expand Up @@ -94,6 +95,8 @@
"el_CY": "গ্রিক (সাইপ্রাস)",
"el_GR": "গ্রিক (গ্রীস)",
"en": "ইংরেজি",
"en_001": "ইংরেজি (পৃথিবী)",
"en_150": "ইংরেজি (ইউরোপ)",
"en_AE": "ইংরেজি (সংযুক্ত আরব আমিরাত)",
"en_AG": "ইংরেজি (অ্যান্টিগুয়া ও বারবুডা)",
"en_AI": "ইংরেজি (এ্যাঙ্গুইলা)",
Expand Down Expand Up @@ -197,7 +200,9 @@
"en_ZM": "ইংরেজি (জাম্বিয়া)",
"en_ZW": "ইংরেজি (জিম্বাবোয়ে)",
"eo": "এস্পেরান্তো",
"eo_001": "এস্পেরান্তো (পৃথিবী)",
"es": "স্প্যানিশ",
"es_419": "স্প্যানিশ (ল্যাটিন আমেরিকা)",
"es_AR": "স্প্যানিশ (আর্জেন্টিনা)",
"es_BO": "স্প্যানিশ (বলিভিয়া)",
"es_BR": "স্প্যানিশ (ব্রাজিল)",
Expand Down Expand Up @@ -329,6 +334,7 @@
"hy": "আর্মেনিয়",
"hy_AM": "আর্মেনিয় (আর্মেনিয়া)",
"ia": "ইন্টারলিঙ্গুয়া",
"ia_001": "ইন্টারলিঙ্গুয়া (পৃথিবী)",
"id": "ইন্দোনেশীয়",
"id_ID": "ইন্দোনেশীয় (ইন্দোনেশিয়া)",
"ig": "ইগ্‌বো",
Expand Down Expand Up @@ -574,6 +580,7 @@
"xh": "জোসা",
"xh_ZA": "জোসা (দক্ষিণ আফ্রিকা)",
"yi": "ইয়েদ্দিশ",
"yi_001": "ইয়েদ্দিশ (পৃথিবী)",
"yo": "ইওরুবা",
"yo_BJ": "ইওরুবা (বেনিন)",
"yo_NG": "ইওরুবা (নাইজেরিয়া)",
Expand Down
Loading
0