Skip to content

simonvanlierde/locale-en-nl-macos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

en_NL Locale for macOS

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.

Table of Contents

File Structure

├── 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

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/locale-en-nl-macos.git
    cd locale-en-nl-macos
  2. Create a custom locale directory:

    mkdir -p ~/.locale
  3. Copy the custom locale files:

    cp -a en_NL.UTF-8 ~/.locale
  4. Set PATH_LOCALE accordingly:

    export PATH_LOCALE=~/.locale:$PATH_LOCALE
  5. Set the custom locale:

    export LC_ALL=en_NL.UTF-8
  6. Run locale to confirm that the custom locale is applied:

    locale

Notes

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

About

en_NL locale for MacOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages