{"id":17002529,"url":"https://github.com/pandermusubi/locale-en-nl","last_synced_at":"2025-03-17T09:30:52.858Z","repository":{"id":2467370,"uuid":"3439762","full_name":"PanderMusubi/locale-en-nl","owner":"PanderMusubi","description":"🇳🇱 English language locale for the Netherlands (en_NL)","archived":false,"fork":false,"pushed_at":"2025-02-09T12:16:32.000Z","size":2935,"stargazers_count":40,"open_issues_count":3,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-16T10:41:20.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PanderMusubi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-02-14T12:51:35.000Z","updated_at":"2025-02-28T08:26:40.000Z","dependencies_parsed_at":"2024-10-27T12:49:06.132Z","dependency_job_id":"831a7502-83f9-4374-8a90-8e867afeb72c","html_url":"https://github.com/PanderMusubi/locale-en-nl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PanderMusubi%2Flocale-en-nl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PanderMusubi%2Flocale-en-nl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PanderMusubi%2Flocale-en-nl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PanderMusubi%2Flocale-en-nl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PanderMusubi","download_url":"https://codeload.github.com/PanderMusubi/locale-en-nl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244008968,"owners_count":20382940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T04:28:20.935Z","updated_at":"2025-03-17T09:30:52.852Z","avatar_url":"https://github.com/PanderMusubi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# locale-en-nl\n\nEnglish language locale for the Netherlands (en_NL)\n\n## Introduction\n\nMany 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.\n\nIt is possible to configure a system by setting a mix of LC sections of different locales, which are part of [glibc](https://sourceware.org/glibc/). 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`.\n\nFor this reason the locale called `en_NL` has been created. It is based on the locale [`en_US`](https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=localedata/locales/en_US;hb=HEAD) and has some carefully mixed parts from [`nl_NL`](https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=localedata/locales/nl_NL;hb=HEAD). 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` locale.\n\nTo see how each section of [`en_NL`](en_NL) has been composed, please see the comments:\n- `% From en_US`\n- `% From nl_NL`\n- `% Custom en_NL`\n\nFor more comprehensible comparison, see the section on validation below.\n\n## Installation\n\nInstall the locale en\\_NL with `./add.sh` or running the commands from that\nscript manually. This script supprts Debian/Ubuntu, Fedora/Red Hat and OpenSUSE.\n\n### Note: LC_CTYPE needs further intervention\n\nThe LC\\_CTYPE provided by this locale is identical to that provided by en_US.UTF-8.\nNevertheless, further intervention is required to get everything to work smoothly\n([source](https://xyne.dev/projects/locale-en_xx/#usage)).\nThere are two approaches:\neither explicitly set `LC_CTYPE=en_US.UTF-8` in `/etc/locale.conf`,\nor modify the Xlib database (which is what `add.sh` does, if this database exists).\n\nTODO\n\n    sudo dnf install glibc-locale-source\n    # inside the top-level directory of the `locale-en-nl` repository\n    sudo localedef --no-archive --inputfile=en_NL --charmap=UTF-8 en_NL.UTF-8\n\nThe compiled locale files can be found in `/usr/lib/locale/en_NL.utf8/`.\n\n## Validation\n\nExamine the generated TXT files with:\n    fldiff nl_NL.txt en_NL.txt\n    fldiff en_US.txt en_NL.txt\n\nIn the directory [comparison](comparison) are screenshots of these colored diffs.\n\nThese files have been generated with the `./validate.sh` script after installation.\n\n## Commands\n\nList the locales contained in the locale archive file.\n\n    localedef --list-archive\n\nShow current settings of the system locale and keyboard mapping.\n\n    localectl status\n\nList available locales useful for configuration with set-locale.\n\n    localectl list-locales\n\nMore details can be viewed with:\n\n    cat /etc/default/locale\n    more /etc/locale.gen\n    more /etc/locale.alias\n\n## Documentation\n\n- [Glibc locales](http://sourceware.org/git/?p=glibc.git;a=tree;f=localedata/locales;hb=HEAD)\n- [Glibc locale en_US](https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=localedata/locales/nl_NL;hb=HEAD)\n- [Glibc locale nl_NL](https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=localedata/locales/en_US;hb=HEAD)\n- [Locale validation tools](https://sourceforge.net/projects/zaf/)\n- [Documentation strftime for Linux](https://secure.php.net/manual/en/function.strftime.php)\n- [Documentation strftime for Linux](http://www.cplusplus.com/reference/ctime/strftime/)\n- [Documentation strftime for Linux](http://man7.org/linux/man-pages/man3/strftime.3.html)\n\n- man pages:\n    - [`locale(1)`](http://man7.org/linux/man-pages/man1/locale.1.html)\n    - [`locale(5)`](http://man7.org/linux/man-pages/man5/locale.5.html)\n    - [`locale(7)`](http://man7.org/linux/man-pages/man7/locale.7.html)\n    - [`localedef(1)`](http://man7.org/linux/man-pages/man1/localedef.1.html)\n    - [`lovalectl(1)`](http://man7.org/linux/man-pages/man1/localectl.1.html)\n    - [`locale.conf(5)`](http://man7.org/linux/man-pages/man5/locale.conf.5.html)\n\n## See also\n\n- Presentation [NLUUG](https://nluug.nl) fall 2016 [English locale for the Netherlands (en_NL)](http://bit.ly/2gd1ZBu)\n\n- [Glibc bug 14085 - en_NL: new locale (English language for the Netherlands)](https://sourceware.org/bugzilla/show_bug.cgi?id=14085)\n- [Glibc bug 17823 - gdb CLI cannot recognize floating point numbers if LC_NUMERIC environment variable is set to nl_NL.UTF-8](https://sourceware.org/bugzilla/show_bug.cgi?id=17823)\n- [Glibc bug 19198 - nl_NL: small improvements for Dutch locales](https://sourceware.org/bugzilla/show_bug.cgi?id=19198)\n- [Glibc bug 22043 - *_NL: add country_isbn](https://sourceware.org/bugzilla/show_bug.cgi?id=22043)\n- [Glibc bug 22535 - en_DE: New locale](https://www.sourceware.org/bugzilla/show_bug.cgi?id=22535)\n- [Glibc bug 23831 - nl_NL missing LC_NUMERIC thousands_sep](https://sourceware.org/bugzilla/show_bug.cgi?id=23831)\n- [Glibc bug 23857 - Esperanto has no country ](https://www.sourceware.org/bugzilla/show_bug.cgi?id=23857)\n- [Glibc bug 23996 - Dutch salutations](https://sourceware.org/bugzilla/show_bug.cgi?id=23996)\n- [all open bugs](https://www.sourceware.org/bugzilla/buglist.cgi?bug_status=%5f%5fopen%5f%5f\u0026component=localedata\u0026product=glibc)\n- https://lh.2xlibre.net/locale/nds_NL/\n- https://lh.2xlibre.net/locale/li_NL/\n- https://lh.2xlibre.net/locale/fy_NL/\n- https://lh.2xlibre.net/locale/nl_NL/\n\n## To do for other locales\n\nThe following minor improvemens for others locales that still need to be done are:\n- replace `tel_dom_fmt` in `nl_NL` locale from `\"\"` to `\"0%a-%l\"`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandermusubi%2Flocale-en-nl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpandermusubi%2Flocale-en-nl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandermusubi%2Flocale-en-nl/lists"}