`locale_install.sh` fails to install many locales
locale_install.sh, it lists all installed locales with
locale -a, then tries to match all
.msg files in
locales with them. If one
.msg files matches a installed locale, it will be installed.
Unfortunately, on my LFS development system (with glibc-2.31)
locale -a outputs the locale names like
zh_CN.utf8, but the corresponding
.msg file is
zh_CN.UTF-8.msg. Then it just won't be installed.
I can create a symlink
zh_CN.UTF-8.msg to make
locale_install.sh install it. But I'm not sure if it's the best way to solve this problem. (This is just an example, there are many other mismatches like
Symlinks are best, yes. I don't add them until someone asks because I don't know what is needed.
I have added a symlink to zh_CN.utf8. Do you need me to do a release? Also, are there other symlinks you want?
It's not critical so I can wait for the next release.
I only use zh_CN.utf8 locale (besides the well-known locales
en_US.utf8). But as recent glibc version's
locale -a only outputs
utf8 instead of
UTF-8 now, each
UTF-8 should be added an
utf8 symlink (IMO). For example,
Okay, I have added all of the
utf8 locales. It was big enough of a change that I decided to release
I am closing this now; please reopen if there is more I need to do.
Deleting a branch is permanent. It CANNOT be undone. Continue?