summaryrefslogtreecommitdiff
path: root/sys-libs/glibc-2.41/0001-locale-add-en_NL.patch
blob: b1537205d45d21d466a4c27a2d92b3119202679f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
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