Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zh_CN or zh_CHS? (zh_TW or zh_Hant) #419

Closed
Freed-Wu opened this issue May 25, 2023 · 2 comments · Fixed by #451
Closed

zh_CN or zh_CHS? (zh_TW or zh_Hant) #419

Freed-Wu opened this issue May 25, 2023 · 2 comments · Fixed by #451

Comments

@Freed-Wu
Copy link

$ 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
Copy link
Owner

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
Copy link
Author

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.

mquinson pushed a commit that referenced this issue Jan 1, 2024
zh_CHS to zh_Hans
zh_CHT to zh_Hant

Fix #419
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants