Author Topic: [Addlocale] [LXDE] set different system lenguage for each user  (Read 1317 times)

Offline ciro314

  • New Friend
  • *
  • Posts: 5
[Addlocale] [LXDE] set different system lenguage for each user
« on: November 13, 2010, 11:19:15 AM »
I have installed 'addlocale_ES' due to my roommate mother lenguage is spanish.

How could we set automatically: he starts his session in spanish and I start mine in English? If I login with my account on GDM and click on 'set English the system lenguage' it affects to my roommate account. Thank's in advance
« Last Edit: November 13, 2010, 11:21:25 AM by ciro314 »

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #1 on: November 13, 2010, 01:20:09 PM »
Hi,

Not sure if someone can give an answer for that. I tried to get versions French/English last year, I was not really satisfied. Most often, reversing to English from the login screen would make the French language unavailable at the following session. I ended giving up.

I'll be curious and interested to see if someone has a solution.

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #2 on: November 13, 2010, 01:37:35 PM »
'set English the system lenguage' means that the system will be in English. That is the entire system will be English. Converting to Spanish via addlocale, changes the system to Spanish.

I believe you can choose the language needed at the GDM login. Set the system language to the one you use for root tasks (updating and etc), and then the person using the other language can change to that language at login.


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #3 on: November 13, 2010, 02:08:33 PM »
'set English the system lenguage' means that the system will be in English. That is the entire system will be English. Converting to Spanish via addlocale, changes the system to Spanish.

I believe you can choose the language needed at the GDM login. Set the system language to the one you use for root tasks (updating and etc), and then the person using the other language can change to that language at login.



Right, this is precisely what I am curious about, as that is what I was trying last year.

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #4 on: November 13, 2010, 02:29:29 PM »
There might be a way to set a default language for a single user account, but if so, I do not know it.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2839
    • other projects...
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #5 on: November 13, 2010, 03:50:01 PM »
There might be a way to set a default language for a single user account, but if so, I do not know it.

yes, you can have different languages by user-account, see Important Notes, point 6 here. Works just fine in KDE, have not tested this for non-KDE desktops but if the desktop can be personalized by user as in KDE then why not?
-p.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2839
    • other projects...
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #6 on: November 13, 2010, 04:18:14 PM »
just tested in Gnome: add Spanish, reboot, add new user. Now I have two users, desktop languages for both are Spanish. Login to user 1, run localedrake (Sistema -> Centro de control: Otras -> Ajustes regionales) set to English and logout, that should be it for this user. But it doesn't work (also not after a reboot). => Problem with localedrake in Gnome and other non-KDE DEs? KDE works fine.
-p. 

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #7 on: November 13, 2010, 04:32:06 PM »
just tested in Gnome: add Spanish, reboot, add new user. Now I have two users, desktop languages for both are Spanish. Login to user 1, run localedrake (Sistema -> Centro de control: Otras -> Ajustes regionales) set to English and logout, that should be it for this user. But it doesn't work (also not after a reboot). => Problem with localedrake in Gnome and other non-KDE DEs? KDE works fine.
-p. 

So you got the results I did when I tried to set up a system with a single user with a different language then. Maybe there is some way to get it done. I just don't know. :(

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #8 on: November 13, 2010, 04:35:54 PM »
just tested in Gnome: add Spanish, reboot, add new user. Now I have two users, desktop languages for both are Spanish. Login to user 1, run localedrake (Sistema -> Centro de control: Otras -> Ajustes regionales) set to English and logout, that should be it for this user. But it doesn't work (also not after a reboot). => Problem with localedrake in Gnome and other non-KDE DEs? KDE works fine.
-p. 

So you got the results I did when I tried to set up a system with a single user with a different language then. Maybe there is some way to get it done. I just don't know. :(


I had tried from the GDM login (or from gdmsetup started from console with the user mode command "dbus-launch gdmsetup"). That worked, but randomly. Could not rely on it to publish public bi-langual versions (which what I was initially trying to do).

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2839
    • other projects...
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #9 on: November 13, 2010, 04:41:06 PM »
don't know why language changes in localedrake are not applied in non-KDE DEs. First time I see that, well, you know I'm a KDE fanboy...  ;D

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #10 on: November 13, 2010, 04:52:11 PM »
don't know why language changes in localedrake are not applied in non-KDE DEs. First time I see that, well, you know I'm a KDE fanboy...  ;D

I will (again) be asking who knows about perl language:
Quote
$ grep kde /usr/bin/localedrake
    $klang = $1 if /--kde_lang=(.*)/;
    $kcountry = uc($1) if /--kde_country=(.*)/;
    lang::write_and_install($locale, do_pkgs_standalone->new, $>, 'dont_touch_kde_files') if $apply;
    print lang::charset2kde_charset(lang::l2charset($lang)), "\n";

?

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #11 on: November 13, 2010, 05:07:18 PM »
I'll look into it, but I'm not too good with perl. (working on that. :D)


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #12 on: November 13, 2010, 05:15:49 PM »
I'll look into it, but I'm not too good with perl. (working on that. :D)



It seems to me that the program has great probabilities to be KDE specific. If this is so, it should be known, and maybe one or several persons could figure something out in a future not too far from now... :)

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #13 on: November 13, 2010, 05:23:36 PM »
I'll look into it, but I'm not too good with perl. (working on that. :D)



It seems to me that the program has great probabilities to be KDE specific. If this is so, it should be known, and maybe one or several persons could figure something out in a future not too far from now... :)

No. It is part of PCC and is DE independent.

It takes time to find the cause of a problem. I am doing the best I can. When I find an answer I will post.


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: [Addlocale] [LXDE] set different system lenguage for each user
« Reply #14 on: November 13, 2010, 05:50:53 PM »

It takes time to find the cause of a problem.

This is so true !

Quote
I am doing the best I can. When I find an answer I will post.

I wish you good luck in your quest. Nice to know you are on it.

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode