mquinson / po4a

Maintain the translations of your documentation with ease (PO for anything)
http://po4a.org/
GNU General Public License v2.0
127 stars 62 forks source link

zh_CN or zh_CHS? (zh_TW or zh_Hant) #419

Closed Freed-Wu closed 1 year ago

Freed-Wu commented 1 year ago
$ pacman -Qo /usr/share/man/zh_CN
/usr/share/man/zh_CN/ is owned by dos2unix 7.4.4-1
/usr/share/man/zh_CN/ is owned by man-db 2.11.2-1
/usr/share/man/zh_CN/ is owned by man-pages-zh_cn 1.6.4.0-2
/usr/share/man/zh_CN/ is owned by shadow 4.13-2
$ pacman -Qo /usr/share/man/zh_CHS
/usr/share/man/zh_CHS/ is owned by po4a 0.69-1

It seems more softwares prefer zh_CN not zh_CHS. It Should it keep confirm?

mquinson commented 1 year ago

Hello @Freed-Wu, I'm sorry but I have no idea of what's the preferred approach here. On this topic, I'm just able of merging the pull requests that arrive. I'm thus closing this report because there is nothing else I can do about it. I hope you'll find the info elsewhere.

Freed-Wu commented 1 year ago

No serious, I have found:

export MANOPT=-Lzh_CN:zh_CHS:zh

Can find the manpage in the order of zh_CN, zh_CHS, zh, so it can work for po4a (use zh_CHS) and other programs (use zh_CN). I share the tips here and hope it can work for other one who want to use Chinese man pages.