LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   GTK applications in kde problem (https://www.linuxquestions.org/questions/slackware-14/gtk-applications-in-kde-problem-443333/)

hackobacko 05-10-2006 01:51 AM

GTK applications in kde problem
 
hi

I've aproblem that some GTK applications
uses my language I set in locale files

in another meaning :

some of them like xchat uses arabic in some buttons .

some others like gftp are totally translated to arabic and I'd like it to use english

the common thing for all of them is the arabic style " menues are arranged from right to left that means file menu for example comes in the right not left .

so how to fix this "I dont have gnome installded " and make them just appear in english with the right style ?

gnashley 05-11-2006 02:31 PM

Set your locale to English.

hackobacko 05-20-2006 08:31 AM

if you mean that I've to make my language set to english in control centerregional and languages\country region

I did so .

actually I've set it only to english but invain

btw :

I have those two lines been added to /etc/profile.d/lang.sh

this how I can use arabic (reading and writing)


export LC_ALL=ar_EG.UTF-8

export CHARSET=ISO_8859-6

but it seems that gtk applications use arabic because of those two lines , but I can't remove them since I want arabic support in my linux

so is there any solution to make gtk applications use just english or is there any other way to change locale ?

secretlydead 06-15-2007 02:19 PM

http://www.linuxquestions.org/questi....php?p=2788176

nglbrkr 01-05-2008 02:54 AM

I have the same problem as the OP. This thread and the one linked don't answer satisfactorily.

I installed Debian japanese, with KDE, to get japanese input working easily(like the arabic of the OP)
I want all apps in English, so I set language to English using the KDE settings menu. In fact I even removed japanese from the list.

Now KDE and most apps are in English, but I can still type japanese. Hurray.

BUT, gtk apps are stubbornly appearing in Japanese. Where do I fix this?

thanks

Alien_Hominid 01-05-2008 03:18 AM

run set in terminal and check if any of environment variables are referring to japanese.

nglbrkr 01-05-2008 04:31 AM

Quote:

Originally Posted by Alien_Hominid (Post 3012064)
run set in terminal and check if any of environment variables are referring to japanese.

Thanks for this pointer, but I'm still struggling

running env shows that LANG is still set to Japanese (so is KDE ignoring LANG?)
However when I changed it in
/etc/locale.gen
and
/etc/environment

it is still coming up as japanese!

How the hell do you change LANG in debian? Must change for all users - this is a workstation in a multi-user environment, and I need to clone it when fixed.

I tried dpkg-reconfigure locales
if I choose en_US.UTF8 only, then everything is in English, but Japanese SCIM doesn't work.
If I choose en_US.UTF8 AND ja_JP.UTF8 then I am back to my original problem.

Alien_Hominid 01-05-2008 06:49 AM

Maybe LANG is set in bash profile in /etc/profile. Check all places where bash could set this environmental variable (like ~/.bashrc).


All times are GMT -5. The time now is 09:35 PM.