Last active 3 months ago

Revision 8f97ef8a61d9dc08c62b3b353d4baf6cfe785e03

README.md Raw

Locale en_NL

I wanted a custom locale for my desktop. Most stuff is straight from en_US, but I've made some modifications.

Most relevantly, the decimal separator is a period and thosuand separator a comma.

Installing

On Fedora 39, copy the file en_NL to /usr/share/i18n/locales

Then, compile and select it:

sudo localedef --no-archive -i en_NL -f UTF-8 en_NL.UTF-8
sudo localectl set-locale en_NL.UTF-8
gsettings set org.gnome.system.locale region "en_NL.utf8"

Then logout and log back in and everything should be changed.

Thanks

Many thanks to this answer on Unix Stack Exchange

en_NL Raw
1escape_char /
2comment_char %
3
4LC_IDENTIFICATION
5title "English locale for the Netherlands"
6source "none"
7contact ""
8email "github@cascer1.space"
9language "English"
10territory "Netherlands"
11revision "1.0"
12date "2024-01-10"
13
14category "i18n:2012";LC_IDENTIFICATION
15category "i18n:2012";LC_CTYPE
16category "i18n:2012";LC_COLLATE
17category "i18n:2012";LC_TIME
18category "i18n:2012";LC_NUMERIC
19category "i18n:2012";LC_MONETARY
20category "i18n:2012";LC_MESSAGES
21category "i18n:2012";LC_PAPER
22category "i18n:2012";LC_NAME
23category "i18n:2012";LC_ADDRESS
24category "i18n:2012";LC_TELEPHONE
25category "i18n:2012";LC_MEASUREMENT
26END LC_IDENTIFICATION
27
28LC_CTYPE
29% From en_US
30copy "i18n"
31END LC_CTYPE
32
33LC_COLLATE
34% From en_US
35copy "iso14651_t1"
36END LC_COLLATE
37
38LC_MONETARY
39% From nl_NL
40int_curr_symbol "EUR "
41currency_symbol "<U20AC>"
42% From en_US
43mon_decimal_point "."
44mon_thousands_sep ","
45mon_grouping 3;3
46positive_sign ""
47negative_sign "-"
48int_frac_digits 2
49frac_digits 2
50p_cs_precedes 1
51int_p_sep_by_space 1
52p_sep_by_space 0
53n_cs_precedes 1
54int_n_sep_by_space 1
55n_sep_by_space 0
56p_sign_posn 1
57n_sign_posn 1
58END LC_MONETARY
59
60LC_NUMERIC
61%From en_US
62copy "en_US"
63END LC_NUMERIC
64
65LC_TIME
66% copy "en_GB"
67abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"
68day "Sunday";/
69 "Monday";/
70 "Tuesday";/
71 "Wednesday";/
72 "Thursday";/
73 "Friday";/
74 "Saturday"
75abmon "Jan";"Feb";/
76 "Mar";"Apr";/
77 "May";"Jun";/
78 "Jul";"Aug";/
79 "Sep";"Oct";/
80 "Nov";"Dec"
81mon "January";/
82 "February";/
83 "March";/
84 "April";/
85 "May";/
86 "June";/
87 "July";/
88 "August";/
89 "September";/
90 "October";/
91 "November";/
92 "December"
93d_t_fmt "%a %d %b %Y %T"
94date_fmt "%a %d %b %Y %T %Z"
95t_fmt "%T"
96am_pm "";""
97t_fmt_ampm ""
98first_weekday 2
99week 7;19971130;4
100d_fmt "%Y-%m-%d"
101END LC_TIME
102
103LC_MESSAGES
104% From en_US
105yesexpr "^[+1yY]"
106noexpr "^[-0nN]"
107yesstr "yes"
108nostr "no"
109END LC_MESSAGES
110
111LC_PAPER
112copy "nl_NL"
113END LC_PAPER
114
115LC_NAME
116% From en_US
117name_fmt "%d%t%g%t%m%t%f"
118name_miss "Miss."
119name_mr "Mr."
120name_mrs "Mrs."
121name_ms "Ms."
122% Custom en_NL
123name_gen "Mr./Mrs."
124END LC_NAME
125
126LC_ADDRESS
127% From en_US
128lang_name "English"
129lang_ab "en"
130lang_term "eng"
131lang_lib "eng"
132% From nl_NL
133postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
134country_ab2 "NL"
135country_ab3 "NLD"
136country_num 528
137country_car "NL"
138% Custom en_NL
139country_name "Netherlands"
140END LC_ADDRESS
141
142LC_TELEPHONE
143tel_int_fmt "+%c %a %l"
144int_prefix "31"
145int_select "00"
146tel_dom_fmt "(%A) %l"
147END LC_TELEPHONE
148
149LC_MEASUREMENT
150copy "nl_NL"
151END LC_MEASUREMENT