Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

upgrade disturbs localization

Post questions, problems here.

upgrade disturbs localization

Postby Hannes Worst on Fri Jul 03, 2009 6:59 pm

After an upgrade last night a lot of programs are displayed in English instead of my choosen locale.

When I command them through a terminal I get the following message:

(process:7011): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

What went wrong? :shock:
It's not so bad
User avatar
Hannes Worst
 
Posts: 42
Joined: Sat Jan 31, 2009 10:01 am
Location: Tilburg, The Netherlands

Re: upgrade disturbs localization

Postby secipolla on Fri Jul 03, 2009 9:12 pm

I don't know what went wrong but the solution found in Google (that you may have already found too) is 'localedef'.
http://www.linuxquestions.org/questions ... ry-202951/
From 'man localedef'
Code: Select all
EXAMPLES
       Compile the locale files for Finnish in the UTF-8 character set and add
       it to the default locale archive with the name fi_FI.UTF-8:

              localedef -f UTF-8 -i fi_FI fi_FI.UTF-8

       The same, but generate files into the current directory (note that  the
       last argument must then contain a slash):

              localedef -f UTF-8 -i fi_FI ./


There's this other solution too
http://ubuntuforums.org/showthread.php? ... cale+error
secipolla
 
Posts: 437
Joined: Sun Jun 15, 2008 2:56 pm
Location: São Paulo / Brazil

Re: upgrade disturbs localization

Postby anticapitalista on Fri Jul 03, 2009 9:33 pm

Maybe you need to reset the locales again and then check /etc/default/locale and /etc/profile are in the language you set.
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Re: upgrade disturbs localization

Postby Hannes Worst on Fri Jul 03, 2009 11:21 pm

I figured it out a bit. It didn't have to do with an upgrade, but with me installing Ted wordprocessor. To get Ted in dutch, I set my .profile file to LANG=nl_NL instead of LANG=nl_NL.UTF-8.. This gave me Ted in dutch language, but the rest in English. It seems that I have the option to have Ted in Dutch and the rest in English or Ted in English and the rest in Dutch.
It's not so bad
User avatar
Hannes Worst
 
Posts: 42
Joined: Sat Jan 31, 2009 10:01 am
Location: Tilburg, The Netherlands

Re: upgrade disturbs localization

Postby anticapitalista on Fri Jul 03, 2009 11:35 pm

What about creating a menu option like this.

[exec] (Ted-NL) {LANG=nl_NL Ted}

and leave the profile as it is.
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Re: upgrade disturbs localization

Postby Hannes Worst on Sat Jul 04, 2009 9:05 am

Yes Anti, you are right. I think that's the way to handle it. Thanks! :D
It's not so bad
User avatar
Hannes Worst
 
Posts: 42
Joined: Sat Jan 31, 2009 10:01 am
Location: Tilburg, The Netherlands

Re: upgrade disturbs localization

Postby Hannes Worst on Sat Jul 04, 2009 1:21 pm

Does anyone know how to do this with IceWM-menu? :?:
It's not so bad
User avatar
Hannes Worst
 
Posts: 42
Joined: Sat Jan 31, 2009 10:01 am
Location: Tilburg, The Netherlands

Re: upgrade disturbs localization

Postby anticapitalista on Sat Jul 04, 2009 3:04 pm

Does this work? (I don't think it does)

prog "Ted-nl" - LANG=nl_NL Ted
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Re: upgrade disturbs localization

Postby Hannes Worst on Sat Jul 04, 2009 3:31 pm

I'm affraid not. But I'm searching through the IceWM-manuals to find the right solution. It's a mather of the right syntax.
It's not so bad
User avatar
Hannes Worst
 
Posts: 42
Joined: Sat Jan 31, 2009 10:01 am
Location: Tilburg, The Netherlands

Re: upgrade disturbs localization

Postby Hannes Worst on Sun Jul 05, 2009 7:37 am

In the meanwhile I found it! The right syntax is: prog "Ted" - env LANG=nl_NL Ted .Now its working allright in IceWM too.
It's not so bad
User avatar
Hannes Worst
 
Posts: 42
Joined: Sat Jan 31, 2009 10:01 am
Location: Tilburg, The Netherlands


Return to antiX-M8 Intifada!

Who is online

Users browsing this forum: No registered users and 0 guests