15f2e
![]() |
|
|
|
|
#1
|
|||
|
|||
|
Hi,
I installed KDE4 from ports and installed the ports for french localization kde4-l10n. Seem right, I can select French language in KDE 4 config but after a relog, half the messages are correctly translated. Typically when I right click on the desktop, instead of "Desktop settings" I have "Bureau settings". Does anyone have such problems with KDE4 localization? Or an idea why localization doesn't apply correctly? I'm on 8.0 btw. Malic |
|
#2
|
||||
|
||||
|
perhaps they are incomplete...?
__________________
Alberto Villa, FreeBSD committer <avilla@FreeBSD.org> http://people.FreeBSD.org/~avilla |
|
#3
|
||||
|
||||
|
Sorry, I can't help, but I wanted to say:
This is exactly why I use apps in English exclusively
|
|
#4
|
|||
|
|||
|
Yeah, I don't bother that much using it in en-US but as I'm not the only one to use the computer and she's pretty much used to Linux/KDE4 in french, this extra effort could get me rid of Linux.
Going to compare the KDE4 version from Linux to FreeBSD to see. |
|
#5
|
||||
|
||||
|
You should try try to set locale environment variables....
Code:
LANG="en_GB.UTF-8" LC_COLLATE="lv_LV.UTF-8" LC_CTYPE="lv_LV.UTF-8" LC_MESSAGES="lv_LV.UTF-8" LC_MONETARY="lv_LV.UTF-8" LC_NUMERIC="lv_LV.UTF-8" LC_TIME="lv_LV.UTF-8" export LANG LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME I think if you take a closer look at /etc/login.conf..... you'll see: Code:
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ It's worth giving a shoot |
|
#6
|
|||
|
|||
|
You win, Killasmurf....
Tried to setup the login.conf as in the handbook but not a chance. I add the LANG and LC_ALL to .profile and it worked fine. Just have to process the $SHELL to set it up in /etc/profile for system wide setting. |
|
#7
|
||||
|
||||
|
I think /etc/profile is only read by sh and alike....
I think you need to edit /etc/login.conf something like this: Code:
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,LANG="en_GB.UTF-8",LC_COLLATE="lv_LV.UTF-8",LC_CTYPE="lv_LV.UTF-8",LC_MESSAGES="lv_LV.UTF-8",LC_MONETARY="lv_LV.UTF-8",LC_NUMERIC="lv_LV.UTF-8",LC_TIME="lv_LV.UTF-8":\ Code:
:setenv=LANG="en_GB.UTF-8",LC_COLLATE="lv_LV.UTF-8":\ :setenv=LC_CTYPE="lv_LV.UTF-8",LC_MESSAGES="lv_LV.UTF-8":\ :setenv=LC_MONETARY="lv_LV.UTF-8",LC_NUMERIC="lv_LV.UTF-8":\ :setenv=LC_TIME="lv_LV.UTF-8":\ |
|
#8
|
|||
|
|||
|
Yeah, redid a pass on the login.conf et it work by setting a french entry with $LC_ALL and $LANG, I just have to specify in the /etc/passwd for each user.
Well, just right what is written in the handbook. Damn... 'knew that! I'll try to change in the default entry to see. Thanks tho |
|
#9
|
||||
|
||||
|
No.... you don't have to touch /etc/passwd at all....
|
|
#10
|
||||
|
||||
|
One more thing.... make sure you run
# cap_mkdb after you edit /etc/login.conf
|
|
#11
|
||||
|
||||
|
Also scroll down login.conf...
you'll see example for russian users. lang is set there, you can create french user class same way.... only thin you will need to modify user class for user that are created already... |
|
#12
|
|||
|
|||
|
Yeah, that's exactly what I did.
Created a french user class to specify the language but in that case you have to specify the language in the passwd file (good for me actually) Shell reply to me in french now... but best of all, KDE4 is fully in french. Have to try to push the setting in the default class but have little time to give it a go atm. Thanks for your help. M PS : thanks for OpenOffice 3.1.1, too bad I'm a 64bits user. |
|
#13
|
||||
|
||||
|
64bit packages
ftp://ooopackages.good-day.net/pub/O...e.org/FreeBSD/ |
|
#14
|
|||
|
|||
|
In order for daemons to pick up the locale where whouls LC_TYPE et al. be declared? Not .login_conf?
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| KDE4 running | Shura | KDE | 11 | July 29th, 2009 08:44 |
| KDE3 vs KDE4 | lumiwa | KDE | 3 | March 4th, 2009 13:19 |
| Localization problem with Xorg 7.4 | toomanysecrets | X.Org | 1 | February 24th, 2009 16:06 |
| if I install KDE4 package without going to /usr/ports/x11/kde4 | mfaridi | Installation and Maintenance of FreeBSD Ports or Packages | 3 | February 1st, 2009 14:59 |
| Uninstall KDE4 | iconobum | KDE | 1 | January 21st, 2009 22:42 |