From b051b18490be8002cdd3a007a786a07d991b8b6b Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Tue, 24 Nov 2020 14:54:26 +0100 Subject: [PATCH] Add a note explaining what a macrolanguage is The comments in enumdata.py indicating macrolanguages meant nothing to me, until I stumbled on a reference that lead me to ISO 639's usage of the term. Add a minimal explanation to save such confusion for others. Change-Id: Ia1d849d93a1d94c04c8c461debdecf879e9a7db5 Reviewed-by: Thiago Macieira --- util/locale_database/enumdata.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/util/locale_database/enumdata.py b/util/locale_database/enumdata.py index f20ac974eee..ab0f4a3eae5 100644 --- a/util/locale_database/enumdata.py +++ b/util/locale_database/enumdata.py @@ -47,6 +47,11 @@ # are offset with a blank line, below. After doing that, regenerate # locale data as usual; this will cause a binary-incompatible change. +# Note on "macrolanguage" comments: see "ISO 639 macrolanguage" on +# Wikipedia. A "macrolanguage" is (loosely-speaking) a group of +# languages so closely related to one another that they could also be +# regarded as divergent dialects of the macrolanguage. + language_list = { 0: ("AnyLanguage", " "), 1: ("C", " "),