Any reason not to use the more standard glibc locale name: zh_CN?
I don't think glibc (or gettext) knows about zh_Hans, let alone zh-Hans.
I think what Tom says is basically correct: zh-Hans is a CLDR locale name.
Jens
On Thu, Feb 14, 2019 at 11:42 PM Randy Barlow <bowlofeggs(a)fedoraproject.org>
wrote:
I recently added dino to Fedora, and rpmlint seems unhappy with the
locale in the package:
dino.x86_64: E: incorrect-locale-subdir
/usr/share/locale/zh-Hans/LC_MESSAGES/dino-omemo.mo
dino.x86_64: E: invalid-lc-messages-dir
/usr/share/locale/zh-Hans/LC_MESSAGES/dino-omemo.mo
dino.x86_64: E: invalid-lc-messages-dir
/usr/share/locale/zh-Hans/LC_MESSAGES/dino-openpgp.mo
dino.x86_64: E: invalid-lc-messages-dir
/usr/share/locale/zh-Hans/LC_MESSAGES/dino.mo
The upstream locale is zh_Hans, which has similar error messages. I
know very little about this topic - could someone enlighten me about
what is upsetting wrong here?