gettext dropping locale.alias support and file except under glibc

Brian Inglis Brian.Inglis@SystematicSW.ab.ca
Thu Jul 31 18:55:45 GMT 2025


Hi folks,

Heads up that next release of gettext will drop support for locale.alias except 
under glibc, which also provides the file /usr/share/locale/locale.alias 
(content not updated since 2015).

https://gitweb.git.savannah.gnu.org/gitweb/?p=gettext.git;a=commit;h=e0caff

I have requested more information from maintainer Bruno Haible about the exact 
limitations of gettext without glibc, as well as support of /etc/locale.alias.

It appears it may be up to our newlib/Cygwin libc to provide or source any 
locale.alias to map to our supported locales, and our Cygwin locale interface 
already does its best to match then convert the info.

We also have another list of aliases under /usr/share/X11/locale/locale.alias 
provided by libX11_6, although that seems to have duplicated entries also 
separated with an extra ':'?

Many systems also seem to support /etc/locale.alias and ~/.locale?

I could package the aliases from either upstream if preferred, or we could merge 
them with our supported locales and provide our own?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin-developers mailing list