On 14/02/2019 15:41, Randy Barlow 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?

It's not a fully specified locale but it's not wrong either. Per
the CLDR likely subtag rules it would expand to zh_Hans_CN.

It specifies simplified chinese without any specific country being
targeted - so it's the equivalent of en compared to en_US say.

Technically en_Latn would a closer equivalent but nobody ever
bothers to specify a script for english because there is only
one option whereas chinese has several so it is normal to add
either the script or the country or both.

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to