You are not logged in.

#1 2009-03-15 23:13:41

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

[Re-Solved]Can't set locale right

I did just about anything and my locale still isn't right.
I can trace this problem to misspelled locale in my Arch installation. I've written sl_SL instead of sl_SI.
But I repaired I edited my locale.gen. I've written the right name in rc.conf.
And still if my locale gives this out:

LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=C
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

I'm running out of ideas what else I can do to get it right.
The only thing that comes to mind is that I remove en_US from my locale.gen but I fear that wouldn't be the best thing.
[rant]I'm getting very pissed on myself I'm starting to think that I'm just not fit to use Arch and I should go back to Kubuntu; or at least install Chakra and hope everything would work.[/rant]

Last edited by Primoz (2009-03-16 11:37:09)


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#2 2009-03-15 23:29:07

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Re-Solved]Can't set locale right


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-03-15 23:48:07

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

Re: [Re-Solved]Can't set locale right

Thanks I somehow I haven't noticed the part about setting language and user locale.
/me is stupid big_smile


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#4 2009-03-15 23:53:42

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Re-Solved]Can't set locale right

Primoz wrote:

Thanks I somehow I haven't noticed the part about setting language and user locale.
/me is stupid big_smile

Stupid? I think not. You are now one of Arch's locale experts. You've graduated!


Please mark threads as [SOLVED] when you're done with them. You can change the title by editing the opening post.

Offline

#5 2009-03-15 23:54:01

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

Re: [Re-Solved]Can't set locale right

Unfortunately that still doesn't solve the main problem (which I haven't mentioned yet) that my Kate (and KWrite) don't support čšž if I save a html file.
No I'm not even sure if it was locale related, but still nice to have right locale.

BTW: Is it enough to restart X server to get locale working? I can't reboot computer (just now).
So maybe the problem endures because I have  yet to restart.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#6 2009-03-16 00:00:43

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Re-Solved]Can't set locale right

I believe that locales set globally need a restart.

Offline

#7 2009-03-16 09:43:45

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

Re: [Re-Solved]Can't set locale right

Sorry, but that didn't solve it for me. I thought it was but it didn't.
At start-up it still says en_US instead of sl_SI. And what is even more strange is that in some apps I have z and y switched and čšž are not working.
I noticed this in KDE "leave message" plasmoid. And I do have KDE set on Slovenian alternate quote type keyboard that works for me. And almost every other KDE app is working properly.
I have no idea why just this one wouldn't work. I slowly loosing my mind whatever I do something else pops-up making all my previous attempts useless.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#8 2009-03-16 11:28:39

jRRYo
Member
Registered: 2008-11-28
Posts: 8

Re: [Re-Solved]Can't set locale right

Primoz wrote:

Kate (and KWrite) don't support čšž if I save a html file.

Maybe you need proper character encoding in your bowser CE Windows 1250 & Western ISO8859-1.

As for the keyboard layout, sounds like KDE layout switcher problem to me. I wouldn't know, not using KDE myself.
Using US locale here, all the special chars šđčćž work fine.

Offline

#9 2009-03-16 11:36:03

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

Re: [Re-Solved]Can't set locale right

jRRYo wrote:
Primoz wrote:

Kate (and KWrite) don't support čšž if I save a html file.

Maybe you need proper character encoding in your bowser CE Windows 1250 & Western ISO8859-1.

As for the keyboard layout, sounds like KDE layout switcher problem to me. I wouldn't know, not using KDE myself.
Using US locale here, all the special chars šđčćž work fine.

I still can't get the HTML right, but I did find a site where it states the html code to get čšž.
And yes I was using a wrong keymap. I thought that alternate quote is the right, as it was in Kubuntu, but no it's Slovenian digraphs that are the right thing.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#10 2009-03-16 11:37:06

jRRYo
Member
Registered: 2008-11-28
Posts: 8

Re: [Re-Solved]Can't set locale right

also from wiki:But for compatibility to programs that don't support UTF-8 yet, it's recommended to support any other locale

You might wanna try these together with what you seleced
sl_SI
sl_SI.iso88592
sl_SI.utf8

Offline

#11 2009-03-16 11:39:10

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 697

Re: [Re-Solved]Can't set locale right

I already use those. But thanks anyway!


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

Board footer

Powered by FluxBB