summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-11-06 02:02:05 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-11-06 02:02:05 +0100
commit49673ddf241ed2b5dbd3db15c261bd8cf67b3764 (patch)
tree6e3ea19d42f0586a6fb044fa55c69644dea1bbff
parentsqlite3: use default XDG config directory (diff)
downloadmisc-patches-49673ddf241ed2b5dbd3db15c261bd8cf67b3764.tar.xz
glibc: add en_NL locale
-rw-r--r--sys-libs/glibc-2.41/0001-locale-add-en_NL.patch181
1 files changed, 181 insertions, 0 deletions
diff --git a/sys-libs/glibc-2.41/0001-locale-add-en_NL.patch b/sys-libs/glibc-2.41/0001-locale-add-en_NL.patch
new file mode 100644
index 0000000..b153720
--- /dev/null
+++ b/sys-libs/glibc-2.41/0001-locale-add-en_NL.patch
@@ -0,0 +1,181 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Terin Stock <terinjokes@gmail.com>
+Date: Thu, 6 Nov 2025 01:14:34 +0100
+Subject: [PATCH] locale: add en_NL
+
+It is not possible to match prevailing English localization in the
+Netherlands using a combination of LC_* environment variables.
+---
+ localedata/SUPPORTED | 1 +
+ localedata/locales/en_NL | 147 +++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 148 insertions(+)
+ create mode 100644 localedata/locales/en_NL
+
+diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
+index 089a5489cb..e1021ff05a 100644
+--- a/localedata/SUPPORTED
++++ b/localedata/SUPPORTED
+@@ -148,6 +148,7 @@ en_IE@euro/ISO-8859-15 \
+ en_IL/UTF-8 \
+ en_IN/UTF-8 \
+ en_NG/UTF-8 \
++en_NL.UTF-8/UTF-8 \
+ en_NZ.UTF-8/UTF-8 \
+ en_NZ/ISO-8859-1 \
+ en_PH.UTF-8/UTF-8 \
+diff --git a/localedata/locales/en_NL b/localedata/locales/en_NL
+new file mode 100644
+index 0000000000..5d0754e2b4
+--- /dev/null
++++ b/localedata/locales/en_NL
+@@ -0,0 +1,147 @@
++escape_char /
++comment_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.
++
++% See for documentation https://github.com/PanderMusubi/locale-en-nl
++
++LC_IDENTIFICATION
++title "English locale for the Netherlands"
++source "https://github.com/PanderMusubi/locale-en-nl"
++contact "Pander"
++email "pander@users.sourceforge.net"
++language "American English"
++territory "Netherlands"
++revision "3.2"
++date "2024-04-22"
++
++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
++
++END LC_IDENTIFICATION
++
++LC_CTYPE
++% From en_US
++copy "en_US"
++END LC_CTYPE
++
++LC_COLLATE
++% From en_US
++copy "en_US"
++END LC_COLLATE
++
++LC_MONETARY
++% From nl_NL
++int_curr_symbol "EUR "
++currency_symbol "<U20AC>"
++% From en_US
++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 0
++n_cs_precedes 1
++int_n_sep_by_space 1
++n_sep_by_space 0
++p_sign_posn 1
++n_sign_posn 1
++END LC_MONETARY
++
++LC_NUMERIC
++% From en_US
++copy "en_US"
++END LC_NUMERIC
++
++LC_TIME
++% From en_US
++abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"
++day "Sunday";"Monday";"Tuesday";"Wednesday";/
++ "Thursday";"Friday";"Saturday"
++abmon "Jan";"Feb";"Mar";/
++ "Apr";"May";"Jun";/
++ "Jul";"Aug";"Sep";/
++ "Oct";"Nov";"Dec"
++mon "January";"February";"March";/
++ "April";"May";"June";/
++ "July";"August";"September";/
++ "October";"November";"December"
++% From nl_NL
++d_t_fmt "%a %d %b %Y %T %Z"
++t_fmt "%T"
++am_pm "";""
++t_fmt_ampm ""
++week 7;19971130;4
++first_weekday 2
++% Custom en_NL
++d_fmt "%Y-%m-%d"
++END LC_TIME
++
++LC_MESSAGES
++% From en_US
++copy "en_US"
++END LC_MESSAGES
++
++LC_PAPER
++% From nl_NL
++copy "nl_NL"
++END LC_PAPER
++
++LC_NAME
++% From en_US
++name_fmt "%d%t%g%t%m%t%f"
++name_miss "Miss."
++name_mr "Mr."
++name_mrs "Mrs."
++name_ms "Ms."
++% Custom en_NL
++name_gen "Mr./Mrs."
++END LC_NAME
++
++LC_ADDRESS
++% From en_US
++lang_name "English"
++lang_ab "en"
++lang_term "eng"
++lang_lib "eng"
++% From nl_NL
++postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
++country_ab2 "NL"
++country_ab3 "NLD"
++country_num 528
++country_car "NL"
++% Custom en_NL
++country_name "Netherlands"
++END LC_ADDRESS
++
++LC_TELEPHONE
++% From nl_NL
++tel_int_fmt "+%c %a %l"
++int_prefix "31"
++int_select "00"
++% Custom en_NL (missing in nl_NL)
++tel_dom_fmt "(%A) %l"
++END LC_TELEPHONE
++
++LC_MEASUREMENT
++% From nl_NL
++copy "nl_NL"
++END LC_MEASUREMENT
+--
+2.51.0
+