Skip to content

[Intl] Exclude root language #32402

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
Jul 8, 2019
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
5 changes: 5 additions & 0 deletions src/Symfony/Component/Intl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGELOG
=========

4.4.0
-----

* excluded language code `root`

4.3.0
-----

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class LanguageDataGenerator extends AbstractDataGenerator
'zh' => 'zho',
];
private static $blacklist = [
'root' => true, // Absolute root language
Copy link
Member

Choose a reason for hiding this comment

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

I'm sorry but this comment doesn't help much. What about something like: Special non-existent language used for ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I dont know what it's used for :) root is not part of the ISO 639-3 codes.

AFAIK it's only used for grouping; if en is a root language, then root is the absolute language root.

'mul' => true, // Multiple languages
'mis' => true, // Uncoded language
'und' => true, // Unknown language
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@
"rn": "Rundi",
"ro": "Roemeens",
"rof": "Rombo",
"root": "Root",
"ru": "Russies",
"rup": "Aromanies",
"rw": "Rwandees",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@
"ro": "ሮማኒያን",
"ro_MD": "ሞልዳቪያንኛ",
"rof": "ሮምቦ",
"root": "ሩት",
"ru": "ራሽያኛ",
"rup": "አሮማንያን",
"rw": "ኪንያርዋንድኛ",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@
"ro_MD": "المولدوفية",
"rof": "الرومبو",
"rom": "الغجرية",
"root": "الجذر",
"ru": "الروسية",
"rup": "الأرومانيان",
"rw": "الكينيارواندا",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@
"ro": "ৰোমানীয়",
"ro_MD": "মোল্ডাভিয়ান",
"rof": "ৰোম্বো",
"root": "ৰুট",
"ru": "ৰাছিয়ান",
"rup": "আৰোমানীয়",
"rw": "কিনয়াৰোৱাণ্ডা",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@
"ro_MD": "moldav",
"rof": "rombo",
"rom": "roman",
"root": "rut",
"ru": "rus",
"rup": "aroman",
"rw": "kinyarvanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@
"rn": "рунди",
"ro": "румын",
"rof": "ромбо",
"root": "рут",
"ru": "рус",
"rup": "ароман",
"rw": "кинјарванда",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@
"ro": "румынская",
"ro_MD": "малдаўская",
"rof": "ромба",
"root": "корань",
"ru": "руская",
"rup": "арумунская",
"rw": "руанда",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@
"ro_MD": "молдовски",
"rof": "ромбо",
"rom": "ромски",
"root": "роот",
"ru": "руски",
"rup": "арумънски",
"rw": "киняруанда",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@
"ro_MD": "মলদাভিয়",
"rof": "রম্বো",
"rom": "রোমানি",
"root": "মূল",
"ru": "রুশ",
"rup": "আরমেনিয়ান",
"rw": "কিনয়ারোয়ান্ডা",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@
"ro_MD": "moldoveg",
"rof": "rombo",
"rom": "romanieg",
"root": "gwrizienn",
"ru": "rusianeg",
"rup": "aroumaneg",
"rw": "kinyarwanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@
"ro_MD": "moldavski",
"rof": "rombo",
"rom": "romani",
"root": "korijenski",
"ru": "ruski",
"rup": "arumunski",
"rw": "kinjaruanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@
"ro": "румунски",
"ro_MD": "молдавски",
"rom": "романи",
"root": "рут",
"ru": "руски",
"rup": "ароманијски",
"rw": "кинјаруанда",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@
"ro_MD": "moldau",
"rof": "rombo",
"rom": "romaní",
"root": "arrel",
"ru": "rus",
"rup": "aromanès",
"rw": "ruandès",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@
"ro": "румынийн",
"ro_MD": "молдавийн",
"rof": "ромбо",
"root": "ораман мотт",
"ru": "оьрсийн",
"rup": "аруминийн",
"rw": "киньяруанда",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@
"ro_MD": "moldavština",
"rof": "rombo",
"rom": "romština",
"root": "kořen",
"rtm": "rotumanština",
"ru": "ruština",
"rue": "rusínština",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@
"ro_MD": "Moldofeg",
"rof": "Rombo",
"rom": "Romani",
"root": "Y Gwraidd",
"rtm": "Rotumaneg",
"ru": "Rwseg",
"rup": "Aromaneg",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,6 @@
"ro_MD": "moldovisk",
"rof": "rombo",
"rom": "romani",
"root": "rod",
"ru": "russisk",
"rup": "arumænsk",
"rw": "kinyarwanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,6 @@
"ro_MD": "Moldauisch",
"rof": "Rombo",
"rom": "Romani",
"root": "Root",
"rtm": "Rotumanisch",
"ru": "Russisch",
"rue": "Russinisch",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@
"ro_MD": "Μολδαβικά",
"rof": "Ρόμπο",
"rom": "Ρομανί",
"root": "Ρίζα",
"ru": "Ρωσικά",
"rup": "Αρομανικά",
"rw": "Κινιαρουάντα",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@
"ro_MD": "Moldavian",
"rof": "Rombo",
"rom": "Romany",
"root": "Root",
"rtm": "Rotuman",
"ru": "Russian",
"rue": "Rusyn",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@
"ro_MD": "moldavo",
"rof": "rombo",
"rom": "romaní",
"root": "raíz",
"ru": "ruso",
"rup": "arrumano",
"rw": "kinyarwanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@
"ro_MD": "moldova",
"rof": "rombo",
"rom": "mustlaskeel",
"root": "root",
"rtm": "rotuma",
"ru": "vene",
"rue": "russiini",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@
"ro": "errumaniera",
"ro_MD": "moldaviera",
"rof": "romboera",
"root": "erroa",
"ru": "errusiera",
"rup": "aromaniera",
"rw": "kinyaruanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@
"ro_MD": "مولداویایی",
"rof": "رومبویی",
"rom": "رومانویی",
"root": "ریشه",
"ru": "روسی",
"rup": "آرومانی",
"rw": "کینیارواندایی",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@
"ro_MD": "moldova",
"rof": "rombo",
"rom": "romani",
"root": "juuri",
"rtm": "rotuma",
"ru": "venäjä",
"rue": "ruteeni",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@
"ro": "rumenskt",
"ro_MD": "moldaviskt",
"rof": "rombo",
"root": "root",
"ru": "russiskt",
"rup": "aromenskt",
"rw": "kinyarwanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@
"ro_MD": "moldave",
"rof": "rombo",
"rom": "romani",
"root": "racine",
"rtm": "rotuman",
"ru": "russe",
"rue": "ruthène",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@
"ro_MD": "Moldavysk",
"rof": "Rombo",
"rom": "Romani",
"root": "Root",
"ru": "Russysk",
"rup": "Aromaniaansk",
"rw": "Kinyarwanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@
"ro_MD": "Moldáivis",
"rof": "rof",
"rom": "Romainis",
"root": "root",
"ru": "Rúisis",
"rup": "Arómáinis",
"rw": "Ciniaruaindis",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,6 @@
"ro_MD": "Moldobhais",
"rof": "Rombo",
"rom": "Romanais",
"root": "Root",
"ru": "Ruisis",
"rue": "Rusyn",
"rug": "Roviana",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@
"ro": "romanés",
"ro_MD": "moldavo",
"rof": "rombo",
"root": "raíz",
"ru": "ruso",
"rup": "aromanés",
"rw": "kiñaruanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@
"ro_MD": "મોલડાવિયન",
"rof": "રોમ્બો",
"rom": "રોમાની",
"root": "રૂટ",
"ru": "રશિયન",
"rup": "અરોમેનિયન",
"rw": "કિન્યારવાન્ડા",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@
"ro_MD": "מולדבית",
"rof": "רומבו",
"rom": "רומאני",
"root": "רוט",
"ru": "רוסית",
"rup": "ארומנית",
"rw": "קנירואנדית",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@
"ro_MD": "मोलडावियन",
"rof": "रोम्बो",
"rom": "रोमानी",
"root": "रूट",
"ru": "रूसी",
"rup": "अरोमानियन",
"rw": "किन्यारवांडा",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@
"ro_MD": "moldavski",
"rof": "rombo",
"rom": "romski",
"root": "korijenski",
"ru": "ruski",
"rup": "aromunski",
"rw": "kinyarwanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@
"ro_MD": "moldvai",
"rof": "rombo",
"rom": "roma",
"root": "ősi",
"ru": "orosz",
"rup": "aromán",
"rw": "kinyarvanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@
"ro_MD": "մոլդովերեն",
"rof": "ռոմբո",
"rom": "ռոմաներեն",
"root": "ռուտերեն",
"rtm": "ռոտուման",
"ru": "ռուսերեն",
"rue": "ռուսիներեն",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@
"ro": "romaniano",
"ro_MD": "moldavo",
"rof": "rombo",
"root": "radice",
"ru": "russo",
"rup": "aromaniano",
"rw": "kinyarwanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@
"ro_MD": "Moldavia",
"rof": "Rombo",
"rom": "Romani",
"root": "Root",
"rtm": "Rotuma",
"ru": "Rusia",
"rup": "Aromania",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@
"ro_MD": "Moldavia",
"rof": "Rombo",
"rom": "Romani",
"root": "Root",
"rtm": "Rotuma",
"ru": "Rusia",
"rup": "Aromania",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@
"ro_MD": "moldóvska",
"rof": "rombó",
"rom": "romaní",
"root": "rót",
"ru": "rússneska",
"rup": "arúmenska",
"rw": "kínjarvanda",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,6 @@
"ro_MD": "moldavo",
"rof": "rombo",
"rom": "romani",
"root": "root",
"rtm": "rotumano",
"ru": "russo",
"rue": "ruteno",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@
"ro_MD": "מולדבית",
"rof": "רומבו",
"rom": "רומאני",
"root": "רוט",
"ru": "רוסית",
"rup": "ארומנית",
"rw": "קנירואנדית",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@
"ro_MD": "モルダビア語",
"rof": "ロンボ語",
"rom": "ロマーニー語",
"root": "ルート",
"rtm": "ロツマ語",
"ru": "ロシア語",
"rue": "ルシン語",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@
"ro_MD": "მოლდავური",
"rof": "რომბო",
"rom": "ბოშური",
"root": "ძირეული ენა",
"ru": "რუსული",
"rup": "არომანული",
"rw": "კინიარუანდა",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@
"ro": "румын тілі",
"ro_MD": "молдован тілі",
"rof": "ромбо тілі",
"root": "ата тіл",
"ru": "орыс тілі",
"rup": "арумын тілі",
"rw": "киньяруанда тілі",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@
"ro": "រូម៉ានី",
"ro_MD": "ម៉ុលដាវី",
"rof": "រុមបូ",
"root": "រូត",
"ru": "រុស្ស៊ី",
"rup": "អារ៉ូម៉ានី",
"rw": "គិនយ៉ាវ៉ាន់ដា",
Expand Down
Loading