gettext dropping locale.alias support and file except under glibc
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Jul 31 19:59:48 GMT 2025
On Jul 31 12:55, Brian Inglis wrote:
> 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.
The NLS in the Cygwin DLL already supports /usr/share/locale/locale.alias
and I don't think it makes sense to change that. For backward compatibility,
we should continue to ship it, for instance, in a gettext-locale.alias
package or something like that.
There's also no good reason to add to this file. Its only reason for
existence is maintaining backward compatibility with pre-existing locale
aliases like "french", "japanese.euc" or "no_NO" (albeit support for
the latter is builtin to the DLL).
Corinna
More information about the Cygwin-developers
mailing list