GTK not support locale en_US.UTF-8 ?

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Hacao
Posts: 226
Joined: Thu 11 Aug 2005, 03:27
Location: Saigon, Vietnam
Contact:

GTK not support locale en_US.UTF-8 ?

#1 Post by Hacao »

hi !

My default locale : en_US.UTF-8

I run "leafpad" in xterm, it show "GTK not supported your current locale" (en_US.UTF-8). GTK setup for C (ansi)

How to configure GTK to en_US.UTF-8 ? (GTK 2.40)

Thanks,

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#2 Post by GuestToo »

i am using Puppy 1.0.5rc with usr_devx.sfs and the arial-utf8 font

i typed:

# export LANG=en_US.utf8
# leafpad

leafpad ran with no error messages

screenshot

you can set the LANG variable in /etc/profile, or in /etc/profile.local

you can get a list of valid locales by typing locale -a

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#3 Post by BarryK »

GuestToo,
You probably have usr_devx.sfs mounted, which has all of the
locale files.

If hacao runs the "chooselocale" script (in the Control Panel
menu) it will list all the installed locale files.

I have created a pupget package with more locale files,
the chooselocales will automatically download, however
to keep its size down it doesn't have any .utf8 locales.

So, hacao, your easiest solution is probably to download
usr_devx.sfs to /mnt/home/ (do that from Windows if it's
a ntfs partition), reboot Puppy, then run the chooselocale
program.
These instructions are for 1.0.5rc+.

User avatar
Hacao
Posts: 226
Joined: Thu 11 Aug 2005, 03:27
Location: Saigon, Vietnam
Contact:

Thanks

#4 Post by Hacao »

Thanks,

Post Reply