You are not logged in.

#1 2013-02-20 04:17:41

shuuichi_nitori
Member
Registered: 2012-12-30
Posts: 37

can't set 'ja_JP' locale

hi, I don't know what is happening on my computer, I need to set the locale ja_JP, I follow the wiki , so I uncomment the ja_JP.UTF-8 , but I get this error mesagge whenever I run locale-gen:

Generating locales...
  en_GB.UTF-8... done
  ja_JP.EUC-JP...cannot open locale definition file `ja_JP': No such file or directory

the wiki isn't very clear about this error.

my locale.conf is set ja_JP utf-8 but I can even generate the locale, what I'm missing?


Archlinux + AwesomeWM

Offline

#2 2013-02-20 07:46:12

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,860
Website

Re: can't set 'ja_JP' locale

Works here. What's the output of

file /usr/share/i18n/locales/ja_JP

Also, you might want to uncomment "ja_JP.UTF-8 UTF-8" rather than "ja_JP.EUC-JP EUC-JP" if you want to use UTF8.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2013-02-20 23:31:34

shuuichi_nitori
Member
Registered: 2012-12-30
Posts: 37

Re: can't set 'ja_JP' locale

the output is

/usr/share/i18n/locales/ja_JP: ERROR: cannot open `/usr/share/i18n/locales/ja_JP' (No such file or directory)

yeah, I know it's utf-8 , that was just a test.


Archlinux + AwesomeWM

Offline

#4 2013-02-20 23:34:37

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,860
Website

Re: can't set 'ja_JP' locale

You're missing that file, so try re-installing glibc.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2013-02-21 00:00:37

shuuichi_nitori
Member
Registered: 2012-12-30
Posts: 37

Re: can't set 'ja_JP' locale

thanks! that works!, but there is another problem, I use xfce , the menu entries are in japanese, but not the gtk apps (all in english), also the qt apps are all in japanese, but don't accept directories with non-unicode names (for example, clementine don't show folders with japanese, chinese and russian names)


Archlinux + AwesomeWM

Offline

#6 2013-02-22 19:36:42

shuuichi_nitori
Member
Registered: 2012-12-30
Posts: 37

Re: can't set 'ja_JP' locale

so..... @WorMzy there is no way to use the gtk apps with japanese locale? (sorry, my english is very bad hmm )


Archlinux + AwesomeWM

Offline

#7 2013-02-22 21:09:12

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,860
Website

Re: can't set 'ja_JP' locale

I'm not an expert on this, and I don't use clementine or qt apps, so I can't really help there. But I generated the Japanese UTF8 locale, used localectl to switch to it, logged out and back in, and Openbox, Firefox and Thunar seemed to be working fine (although I don't have Firefox's Japanese i18n pack installed, so it's menus were mostly in English still).

If you're having trouble with specific apps, perhaps they're missing translation files?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2013-02-22 21:55:43

shuuichi_nitori
Member
Registered: 2012-12-30
Posts: 37

Re: can't set 'ja_JP' locale

well isn't a specific application, is all the gtk applications (terminal, thunar,spacefm,leafpad,gimp,zim,inkscape,and a long etc.....) actually the qt applications works ok (the clementine problem is solved, just update my music library) I don't know what I'm missing, it's very annoying set the locale ja_JP and see everything in english xD


Archlinux + AwesomeWM

Offline

#9 2013-02-22 22:25:23

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,860
Website

Re: can't set 'ja_JP' locale

What's the output of 'locale' and 'localectl'? Do you see any messages when running these applications from a terminal?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB