You are not logged in.

1

Tuesday, December 30th 2003, 12:47pm

My KDE speaks only English [Solved]

I have a GENTOO,
I am a newbie,
I have emerged the french module as suggested by a friend whose KDE is working well in french.
Emerge worked well, no error indicated.
But KDE propose only English!
I used the control manager, I succeeded to have the french keyboard but not the language!
How can I do? Via KDE control center?
Via a conf. file to modify? (which one and where?).
:?:
Thank you in advance for help.

2

Tuesday, January 6th 2004, 10:10pm

I am surprised that there is no reply:
Is the subject not interesting,
I presume that it could happen with any language!
With my previous distros Mandrake, KDE was working well,
then I wonder what is wrong with me or my distribution.

I can see that the KDE forums are not very active, this is strange....

I somebody finds some interest in my question, he can reply, I will regularly scan this forum...

If no reply within ... I do not know (because I hope to have)
... maybe I'll try Gnome?
:!:

3

Tuesday, January 6th 2004, 11:02pm

Quoted

Original von Marc.Driver

I am surprised that there is no reply:
Is the subject not interesting,


Typically that's not the problem. If you get no response this means that the forum's regulars don't think they know a good answer.

Quoted

Original von Marc.Driver

I presume that it could happen with any language!


I used to run KDE 3.1 in German on Gentoo without any problems (before I switched to a self-compiled KDE CVS version).
I've scanned my Gentoo config files and didn't find anything that's related to a language preference. It's quite some time that I touched that stuff... I have the impression that something changed in Gentoo in between.

Anyway, the standard way to set the language:
In the control center, in the language module, there should be a dropdown "add language" where the installed languages appear (for you probably English and French). Select French and put it in the topmost position in the language field.

If French is not available then the following might help:
Here's a thing google returned:
http://braindamage.alal.com/archives/gentoo-user/20030927/4058.html
Try fr_FR instead of en_GB.

---

Note: I think you'd have a larger audience if you asked that distro-specific question in the Gentoo forum
( http://forums.gentoo.org/ ).

Another note:
If everything worked with Mandrake, why did you install Gentoo?
You state you're a newbie, but then Gentoo is not the ideal distribution for you (IMHO)...

4

Wednesday, January 7th 2004, 12:07pm

Quoted


Anyway, the standard way to set the language:
In the control center, in the language module, there should be a dropdown "add language" where the installed languages appear (for you probably English and French). Select French and put it in the topmost position in the language field.

If French is not available then the following might help:
Here's a thing google returned:
http://braindamage.alal.com/archives/gentoo-user/20030927/4058.html
Try fr_FR instead of en_GB.


Ok, I was disappointed when I wrote this, but it is very difficult when you do the regular commands, you do not succeed, other people with the same are succeeding and reply to you to carry out the said command you have done many times!!!
The french language do not appear when I push the "add language" that's why I have asked for other way.
I will try your suggestion and report.

Quoted


Note: I think you'd have a larger audience if you asked that distro-specific question in the Gentoo forum


I have contacted them, but the result is the same: It works on my config by doing LINGUAS=fr, emerge -ikde18n ... and that's all, when I say I have done, no more suggestion.

Quoted


Another note:
If everything worked with Mandrake, why did you install Gentoo?
You state you're a newbie, but then Gentoo is not the ideal distribution for you (IMHO)...


I have said: with my previous Mandrake I never experienced such a problem with KDE, but I experienced other problems specially with the ethernet cards.
For the gentoo choice, I am a beginner since the version 5 or Mandrake / redhat but, as I have a few time to spend, I never succeeded to replace my bloody windows. With the help of some friends or forum users, I have been able to do some things as, for example install IPCop, a firewall on onother unitand which is my gateway for my own family network.
Following that a friend convinced me to use Gentoo which works quicker due to his particulars. I had some problems but I could solve them!
OK, I stop and I thank you for your help.
Marc

5

Sunday, January 11th 2004, 10:12pm

Good evening and thank you

[for combofh]

I have tried but not succeeded!
On other hand by the way of a reply on a nother post on a gentoo forum, I had the following exchange, maybe it can help to have other ideas?




[pour genestyler]

edit /etc/profile
and add at the end :

export LINGUAS;LINGUAS="fr"

this works on my config , if you forget one of the 2 LINGUAS it does not work )
____________________________________________
I have found the file and modified as suggested.
But it changed nothing!
____________________________________________
[/Pour genestyler]


[Pour zdra]

Personnally my linux spoke 100% english, in "gdm" there is an option for language, I put "francais" et hop a 100% french speaking gentoo... except for OpenOffice...
_____________________________________________
I have searched a "kdm" and the only file I have found a file "kdmrc" {usr/kde/301/share/config/kdm/kdmrc}
where I have replaced
language=en-us by
language=fr
It exists a file " language.codes" but there are 2 lines with codes with 2 lines with 2 letters which I don't know the signification.
And my kde speaks always English!
______________________________________________
[/Pour zdra]


I have found a directory {usr/kde/301/share/locale} in which there was:
- a file "alllanguages" which says not so much
- a ditrectory "en_us"
- a directory i10n which lists all possibilities to write a country in all languages!
Maybe a file "fr" and / or "i18n" should have been there, and, if yes, how to put it in?

:?: :)

6

Tuesday, January 13th 2004, 9:21pm

I seem to be nearly alone...
I found a reply on another forum, and I have solved my problem.

Quoted


modify /etc/profile as follows:

after
export EDITOR

add code:

export LINGUAS;LINGUAS="fr"
export LINGUAS="fr"
export LC_ALL="fr_FR@euro"
cd /fixforbug29665 >/dev/null 2>&1

then create file:
etc/env.d/02locale

Add Code:
# /etc/env.d/00basic:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/env.d/02locale,v 1.11 2003/02/17 02:48:39 azarah Exp $


LANG="fr_FR@euro"
LANGUAGE="fr_FR@euro"
LC_ALL="fr_FR@euro"

Then type:
env-update
followed by:
etc-update

and type:
emerge kde-i18n
It downloads all the language packages in order to finally install the fr one (it is long but it succeeds)

Only after that you can use the configuration manager and ask for the french language or other.

I hope it can help someboqy else :D

7

Tuesday, January 13th 2004, 9:43pm

Quoted

Original von Marc.Driver

...
I found a reply on another forum, and I have solved my problem.
...
I hope it can help someboqy else :D

That's good to hear, and thanks for sharing the solution.

Can you also point to the line that made the difference?

Cheers,
cm.

8

Wednesday, January 14th 2004, 9:30pm

Yes I can

modify /etc/profile as follows:

after
export EDITOR

add code:

export LINGUAS;LINGUAS="fr" It seems that the two linguas are necessary
export LINGUAS="fr" It seems it is important to rewrite
export LC_ALL="fr_FR@euro" It seems that this is the language code which is asked in {usr/kde/301/share/config/kdm/language.codes"}
cd /fixforbug29665 >/dev/null 2>&1 this is relative to the bug reported by another guy}

then create file:
etc/env.d/02locale It seems it is important to complete the language package, listing the writing possibilities

Add Code:
# /etc/env.d/00basic:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/env.d/02locale,v 1.11 2003/02/17 02:48:39 azarah Exp $


LANG="fr_FR@euro"
LANGUAGE="fr_FR@euro"
LC_ALL="fr_FR@euro"

End of modification comment
I am not an expert and I cannot explain exactely, this was posted to me as something like: "somebody wrote this to me , I don't exactely understand, but it works..."
:) Happy to help[/b]