Skip to content

[bug] Using non-standard locale name for Chinese (zh_Hans, zh_Hant) #294

@hosiet

Description

@hosiet

While examining the default installation of peek into system, I found the following files:

[...]
drwxr-xr-x root/root         0 2018-03-16 10:07 ./usr/share/locale/uk_UA/
drwxr-xr-x root/root         0 2018-03-16 10:07 ./usr/share/locale/uk_UA/LC_MESSAGES/
-rw-r--r-- root/root      7070 2018-03-16 10:07 ./usr/share/locale/uk_UA/LC_MESSAGES/peek.mo
drwxr-xr-x root/root         0 2018-03-16 10:07 ./usr/share/locale/zh_Hans/
drwxr-xr-x root/root         0 2018-03-16 10:07 ./usr/share/locale/zh_Hans/LC_MESSAGES/
-rw-r--r-- root/root      8580 2018-03-16 10:07 ./usr/share/locale/zh_Hans/LC_MESSAGES/peek.mo
drwxr-xr-x root/root         0 2018-03-16 10:07 ./usr/share/locale/zh_Hant/
drwxr-xr-x root/root         0 2018-03-16 10:07 ./usr/share/locale/zh_Hant/LC_MESSAGES/
-rw-r--r-- root/root      7161 2018-03-16 10:07 ./usr/share/locale/zh_Hant/LC_MESSAGES/peek.mo
drwxr-xr-x root/root         0 2018-03-16 10:07 ./usr/share/man/
drwxr-xr-x root/root         0 2018-03-16 10:07 ./usr/share/man/man1/
-rw-r--r-- root/root       927 2018-03-16 10:07 ./usr/share/man/man1/peek.1.gz
[...]

Using zh_Hans and zh_Hant in /usr/share/locale/ directory is weird. Almost all other applications on Linux install them into directories named zh_CN and zh_TW (which somehow represents the simplified variant of Chinese and the traditional variant of Chinese).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions