this post was submitted on 02 Jan 2024
26 points (93.3% liked)

Linux

48002 readers
984 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] winety@communick.news 2 points 10 months ago* (last edited 10 months ago)

You can use localectl to change the locale on Fedora. Here's what you need to do:

  • See if you have Japanese locale installed. Something like ja_JP.UTF-8 should be in the output of localectl list-locales.
  • If it's not, you should install it using the following command: sudo dnf install langpacks-ja (I'm not 100 % sure about this and I don't have a Fedora system to test it on.)
  • Set the locale: sudo localectl set-locale LANG=ja_JP.UTF-8
  • Reboot your system. Everything should be in Japanese now.

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.