diff mbox

[1/1] Added New Locale for en_MU

Message ID 1502334341-41963-1-git-send-email-akhilesh.k@samsung.com
State New
Headers show

Commit Message

Akhilesh Kumar Aug. 10, 2017, 3:05 a.m. UTC
Added new locale for Mauritius

[BZ# 21937]
	localedata/SUPPORTED: Added en_MU
	/locales/en_MU:		  Added New File
---
 localedata/SUPPORTED     |    1 +
 localedata/locales/en_MU |  119 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+), 0 deletions(-)
 create mode 100644 localedata/locales/en_MU

Comments

Mike FABIAN Aug. 10, 2017, 9:23 a.m. UTC | #1
Akhilesh Kumar <akhilesh.k@samsung.com> wrote:

> Added new locale for Mauritius
>
> [BZ# 21937]
> 	localedata/SUPPORTED: Added en_MU
> 	/locales/en_MU:		  Added New File

Are there any actual users requesting this?

Same for it_VA and it_SM.

For translation, these locales are not needed because the languages "en"
and "it" are already available in other locales.

So what does this really achieve? Some minor things like “country_name”,
... but does this really justify adding more locales if nobody really
asked for it?

There are around 195 or 196 countries on earth at the moment.
Currently we have 140 in glibc locales. Do we really want to add
more then 50 new locales without anybody really asking for it?

Locales also take up space ...
diff mbox

Patch

diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 197917b..fb518c1 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -143,6 +143,7 @@  en_IE/ISO-8859-1 \
 en_IE@euro/ISO-8859-15 \
 en_IL/UTF-8 \
 en_IN/UTF-8 \
+en_MU/UTF-8 \
 en_NG/UTF-8 \
 en_NZ.UTF-8/UTF-8 \
 en_NZ/ISO-8859-1 \
diff --git a/localedata/locales/en_MU b/localedata/locales/en_MU
new file mode 100644
index 0000000..c4963f5
--- /dev/null
+++ b/localedata/locales/en_MU
@@ -0,0 +1,119 @@ 
+comment_char %
+escape_char /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% Locale for English locale in the Mauritius
+% Contributed by Akhilesh Kumar <akhilesh.k@samsung.com>
+
+LC_IDENTIFICATION
+title      "English locale for the Mauritius"
+source     "Samsung Electronics Co., Ltd."
+address    ""
+contact    ""
+email      "akhilesh.k@samsung.com"
+tel        ""
+fax        ""
+language   "English"
+territory  "Mauritius"
+revision   "1.0"
+date       "2017-07-24"
+
+category "i18n:2012";LC_IDENTIFICATION
+category "i18n:2012";LC_CTYPE
+category "i18n:2012";LC_COLLATE
+category "i18n:2012";LC_TIME
+category "i18n:2012";LC_NUMERIC
+category "i18n:2012";LC_MONETARY
+category "i18n:2012";LC_MESSAGES
+category "i18n:2012";LC_PAPER
+category "i18n:2012";LC_NAME
+category "i18n:2012";LC_ADDRESS
+category "i18n:2012";LC_TELEPHONE
+category "i18n:2012";LC_MEASUREMENT
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "en_GB"
+END LC_CTYPE
+
+LC_COLLATE
+
+% Copy the template from ISO/IEC 14651
+copy "iso14651_t1"
+
+END LC_COLLATE
+
+LC_MONETARY
+% https://en.wikipedia.org/wiki/Mauritian_rupee
+int_curr_symbol     "MUR "
+currency_symbol     "Rs"
+mon_decimal_point   "."
+mon_thousands_sep   ","
+mon_grouping        3;3
+positive_sign       ""
+negative_sign       "-"
+int_frac_digits     2
+frac_digits         2
+p_cs_precedes       1
+int_p_sep_by_space  1
+p_sep_by_space      1
+n_cs_precedes       1
+int_n_sep_by_space  1
+n_sep_by_space      1
+p_sign_posn         1
+n_sign_posn         1
+%
+END LC_MONETARY
+
+LC_NUMERIC
+copy "en_GB"
+END LC_NUMERIC
+
+LC_TIME
+copy "en_GB"
+END LC_TIME
+
+LC_MESSAGES
+copy "en_GB"
+END LC_MESSAGES
+
+LC_PAPER
+copy "en_GB"
+END LC_PAPER
+
+LC_TELEPHONE
+% https://www.howtocallabroad.com/mauritius/
+tel_int_fmt "+%c %l"
+% 00 Africa: all countries except Kenya, Nigeria, Tanzania and Uganda
+int_select     "00"
+int_prefix     "230"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "en_GB"
+END LC_MEASUREMENT
+LC_NAME
+copy "en_GB"
+END LC_NAME
+
+
+LC_ADDRESS
+postal_fmt   "%f%N%h%s%N%T"
+country_name "Mauritius"
+country_ab2  "MU"
+country_ab3  "MUS"
+country_num  480
+% https://en.wikipedia.org/wiki/List_of_international_vehicle_registration_codes
+country_car  "MS"
+country_isbn "978-613,978-620,978-99903,978-99949"
+lang_name    "English"
+lang_ab      "en"
+lang_term    "eng"
+lang_lib     "eng"
+END LC_ADDRESS