Custom locale en_NL
for macOS that combines English and Dutch locale settings (e.g., euros and year-month-date formatting). Inspired by PanderMusubi's locale-en-nl.
├── en_NL.UTF-8 # Custom locale files combining en_US and nl_NL
├── reference_files # Original macOS en_US and nl_NL files for reference
├── copy_locales.sh # Script to copy original locale files to the working directory
├── en_NL.glibc # Pseudo-glibc description of custom locale
└── README.md
-
Clone this repository:
git clone https://github.com/yourusername/locale-en-nl-macos.git cd locale-en-nl-macos
-
Create a custom locale directory:
mkdir -p ~/.locale
-
Copy the custom locale files:
cp -a en_NL.UTF-8 ~/.locale
-
Set
PATH_LOCALE
accordingly:export PATH_LOCALE=~/.locale:$PATH_LOCALE
-
Set the custom locale:
export LC_ALL=en_NL.UTF-8
-
Run
locale
to confirm that the custom locale is applied:locale
To make these changes persistent, add the following lines to your shell configuration file (e.g., ~/.bashrc
or ~/.zshrc
):
export PATH_LOCALE=~/.locale:$PATH_LOCALE
export LC_ALL=en_NL.UTF-8
After updating your shell configuration, reload it:
source ~/.bashrc # or ~/.zshrc
To set specific categories (e.g., date or currency), you can use:
export LC_TIME=en_NL.UTF-8
export LC_MONETARY=en_NL.UTF-8