Skip to content

mpsijm/locale-en-nl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

locale-en-nl

English language locale for the Netherlands (en_NL)

Introduction

Many users who are physically located in the Netherlands use software in the American English language. Most of them are native Dutch speakers working in IT, but this also applies for non-Dutch expats in the Netherlands. In their work they usually have their systems configured to US English International. However, due to the geographic location or territory they reside in, it can be highly desirable for certain data to be represented according to the local Dutch notation, while the rest remains in English.

It is possible to configure a system by setting a mix of LC sections of different locales. For example the LC_MONETARY of en_US and LC_TIME of nl_NL. Nevertheless, it is not possible to mix on section level only to get a proper locale with English language in the Netherlands territory. This requires a custom locale to correctly set fields in the sections LC_MONETARY, LC_TIME and LC_ADDRESS.

For this reason the locale called en_NL has been created. It is based on the locale en_US and has some carefully mixed parts from nl_NL. Note that this specific configuration is impossible to obtain by using locale nl_NL and setting LANGUAGES to en or other mixed LC section usage. This justifies an en_NL locace and having it supported by glibc.

Please, see comments starting with "%% use" in the file en_NL how each section has been composed. For more comprehensible comparison, see the section on validation below.

If you support the inclusion of en_NL in glibc, please endorse it at https://sourceware.org/bugzilla/show_bug.cgi?id=14085

Installation

Install the locale en_NL with ./install.sh or running the command from that script manually.

Validation

Examine the generated TXT-files with fldiff nl_NL.txt en_NL.txt and fldiff en_US.txt en_NL.txt In the directory comparison are screenshots of these colored diffs.

These files have been generated with the ./validate.sh script after installation.

Commands

List the locales contained in the locale archive file.

localedef --list-archive

Show current settings of the system locale and keyboard mapping.

localectl status

List available locales useful for configuration with set-locale.

localectl list-locales


more /etc/default/locale
more /etc/locale.gen
more /etc/locale.alias

Documentation

See also

To do for other locales

The following minor improvemens for others locales that still need to be done are:

  • replace tel_dom_fmt in nl_NL locale from "" to "0%a-%l"

About

🇳🇱 English language locale for the Netherlands (en_NL)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.9%
  • Shell 45.1%