I was trying to install Chinese language support for a Fedora 26 Server hosted on Digital Ocean, multiple steps have been taken but I still couldn't get it right.
The language and charset I was trying to install is
Solutions taken so far:
%_install_langs all(which was previously
%_install_langs C:en:en_US:en_US.UTF-8as the cloud provider default) in
/etc/rpm/macros.image-language-conf, and then
$ dnf reinstall glibc-common, according to this Super User post linux - How do I install/generate all locales on Fedora?.
$ dnf install langpacks-zh_CN.
man-pages-zh-CN, both of which are weak dependencies of
langpacks-zh_CN, and somehow the latter is not installed when installing
What have been different:
$ date, the prompt is now in correct language as
2017年 10月 20日 星期五 18:31:34 UTC.
However, anything else is still English, including
But the same commands work perfectly well on a local Fedora Server VM.
Noticed situation: (but not sure if there are right or how to solve)
- I found
/usr/share/locale/zh_CN/LC_MESSAGEShas fewer files in comparison with the VM on my Mac. While the VM on my Mac has tens of files in the folder (the translation project has been there for years), the cloud remote Droplet has only 1, and that is