I just installed Fedora and I’m trying to figure out how to make it display Japanese fonts, by default it displays kanji as Chinese characters, I installed some fonts but still no change, how do I change this?
I just installed Fedora and I’m trying to figure out how to make it display Japanese fonts, by default it displays kanji as Chinese characters, I installed some fonts but still no change, how do I change this?
Most cases will be solved with these settings (but some applications may need additional tweeks):
ja_JP.UTF-8
locale, or~/.config/fontconfig/fonts.conf
I was trying to do that but I’m unsure what to edit to do that, since most tutorials are using either a Debian based or Arch distro.
I was using a similar guide, and it also talked about the locale.gen, but that file was never to be found, I just searched a bit more into that and this popped up. So it seems Fedora handles things differently, but now I’m unsure what commands to execute since I’m not sure the ones in that thread are also valid for me.
You can use
localectl
to change the locale on Fedora. Here’s what you need to do:ja_JP.UTF-8
should be in the output oflocalectl list-locales
.sudo dnf install langpacks-ja
(I’m not 100 % sure about this and I don’t have a Fedora system to test it on.)sudo localectl set-locale LANG=ja_JP.UTF-8
This will (probably) change everything to Japanese – texts in menus, error messages in the terminal, and also the font rendering. This answer on Stack Overflow suggests to do something with your
fonts.conf
. This way your UI would be in English (or your preferred language) and kanji would render as the Japanese variants.