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?

  • Scraft161@iusearchlinux.fyi
    link
    fedilink
    arrow-up
    3
    ·
    6 months ago

    If japanese kanji show as their Chinese variant make sure you are using the proper font variant. My recommendation is noto-sans-cjk-jp.

    Fedora does allow you to set the locale, it doesn’t mention generating them so they might very well already be present You can use https://docs.fedoraproject.org/en-US/fedora/latest/system-administrators-guide/basic-system-configuration/System_Locale_and_Keyboard_Configuration/ to read more than I can tell you here.

    • ghost_laptop@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      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.

      • winety@communick.news
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        6 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.

  • セリャスト@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    6 months ago

    “By default it displays kanji as Chinese characters” Not quite sure what you mean by that
    Edit: my bad, I read the other comment’s link and had not encountered the issue yet. Wish you luck to solve this