Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How to set different user-interface languages for different users?

  1. #1
    Join Date
    May 2012
    Location
    Hungary
    Posts
    7

    Default How to set different user-interface languages for different users?

    Hello,
    I set other system language than English on my Suse 12.1. But the system language of the root remained English.
    My laptop is a shared laptop. Now, I'd like to set different system/user-interface languages for different users.
    How can I do it?
    Thanks,
    Istvan

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,871

    Default Re: How to set different user-interface languages for different users?

    That is of course done by the users themselves. If they want they could use a different langiage each day and you do not want them to ask you as system manager to do this.

    Of course you ,as system manager must have installed the languages you guess youneed. There ia special menu item in YaST > Softtware > Software managent when you use the View button call Lnaguages. When you install a language there, the vailable translations for most progarms in your system will be installed.

    For the user this depoends in the Desktop (s)he isusing. In KDE Syustemsetting there an item Language/Regio (I do not have the precise wording, as my KDE is in Dutch ). Gnome will have likewise. And ofg course for users that only use the CLI, there are the environment variable like LANG=, etc to be set in .profile.
    Henk van Velden

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How to set different user-interface languages for different users?

    On 2012-05-26 21:16, hcvv wrote:
    >
    > That is of course done by the users themselves. If they want they could
    > use a different langiage each day and you do not want them to ask you
    > as system manager to do this.


    Absolutely. Same as time zone, it is a user setting.

    > For the user this depoends in the Desktop (s)he isusing. In KDE
    > Syustemsetting there an item Language/Regio (I do not have the precise
    > wording, as my KDE is in Dutch ). Gnome will have likewise. And ofg
    > course for users that only use the CLI, there are the environment
    > variable like- LANG=-, etc to be set in -.profile-.


    Rather, in ".i18n". It works for both CLI and gnome.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  4. #4
    Join Date
    May 2012
    Location
    Hungary
    Posts
    7

    Default Re: How to set different user-interface languages for different users?

    Hi Guys,
    Thanks for your answers. When SUSE 12.1 was installed, the Hungarian installation language was chosen. The problem is: if user changes its language setting the main folder names remain Hungarian (of course). I don’t rename the main system folder from Hungarian to English (or other language) because it would cause system problems at the affected users (I assume it).
    My question would have been regarding language setting during user creation. Whether would be any manner to assign user-interface/system language other than Hungarian?
    I believed it should be any possibility because against the default Hungarian language setting the root’s language setting is totally English (system, folders, everything).
    But it seems there is no way to assign user language during user creation.
    Anyway, thanks for your answers again.
    Cheers,
    Istvan

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,871

    Default Re: How to set different user-interface languages for different users?

    Sorry, I have a feeling that I more or less understand what you mean, but can you explain better what you mean with "I don’t rename the main system folder from Hungarian to English". What is the "main system folder"? The root directory of the system is called / and there is not much to translate there. Thus I guess I misunderstand you here.
    Henk van Velden

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,654
    Blog Entries
    14

    Default Re: How to set different user-interface languages for different users?

    You cannot change the system language on user login. The desktop's language, yes, can be different for every user, just performing a "su" will display root's messages in the user's language, a "su -" will display root's messages in root's default language.
    Never ever rename system folders. The system depends on those names.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How to set different user-interface languages for different users?

    On 2012-05-28 14:36, Knurpht wrote:
    >
    > You cannot change the system language on user login. The desktop's
    > language, yes, can be different for every user, just performing a "su"
    > will display root's messages in the user's language, a "su -" will
    > display root's messages in root's default language.
    > Never ever rename system folders. The system depends on those names.


    And of course, those folders are named in English, not hungarian.

    He may be referring to some personal folders in some desktop that use
    localized names, but that is something I have no experience of. And of
    course, changing the name of those will not affect other users.

    So Svarcenberg, please clarify what you are doing.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  8. #8
    Join Date
    May 2012
    Location
    Hungary
    Posts
    7

    Default Re: How to set different user-interface languages for different users?

    Hello,
    I’m sorry for the confusing.

    As I’ve mentioned, opensuse 12.1 KDE was installed Hungarian language so every users have got Hungarian language user-interface except the root. Language of root’s user-interface is English.
    When a user changes his/her user-interface from Hungarian to other language (e.g. English) then folder’s name remains Hungarian under the directory “/home/user”
    So “Desktop” is named “Asztal”, “Pictures” is named “Képek”, “Public” folder is named “Nyilvános”.

    Against the changing of the user-interface, the folders’ name under users’ Home folder remains Hungarian. I know why this is. I understand the cause. But I think, if root’s user-interface language can remain English (and its folders’ name under its Home directory) then would be nice to have any possibility to choose a user-interface language during a new user creation so newly created user’s folder-name could be named on the assigned user-interface language. “Desktop” can be named “Desktop”, “Public” can be named “Public” and so on.

    Is my post understandable now?

    Cheers,
    Istvan

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,871

    Default Re: How to set different user-interface languages for different users?

    I think I understand you now. You did not mean to say "main system folder", but "the names of the standard KDE directories in the users home directory".

    These directories are not created by YaST. They are crated when the user logs in using KDE for the first time (and I guess similar happens when you use other DE's for the first time). And I am pretty sure that KDE creates these according to the language then found in the environment variables. Later, when the user logs in and has a difffernet language in his environment variable, I a not sure what KDE does. But I guess it does not much, because changing this in a current desktop may (in fact I think must) create havoc. E.g. look inside a users .kde4/share/config. Do a
    Code:
    grep Documents *
    (you should use the Hungarian word for Documents of course).
    You will notice that many files are named there with their path. Thus when you would change the name Documents into Dutch Documenten, many things will get lost by KDE. And most probably by more applications (they will have taken notice of often used files, directories they used to work in, etc.). Thus take care when you go changing in an existing desktop. Only thing is, (re)move ~/.kde4 and login. KDE will then see his as a first login and create the directories anew. You then have to move the contents of (in my example) Documents to Documenten and so on. But this may be error prone.

    Only thing I can suggest is doing things when you create a user. I did not test this, but think the following could create a user with propper named KDE directories.
    Create the user using YaST > Security and users > users in the normal way. Then edit that users ~/.profile and set the proper
    Code:
    export LANG=nl_NL.UTF-8
    Then let the user login in the KDE GUI and see what is created.
    Maybe someone knows a better, more sophisticated way to do this.
    Henk van Velden

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How to set different user-interface languages for different users?

    On 2012-05-30 12:36, hcvv wrote:

    > Only thing I can suggest is doing things when you create a user. I did
    > not test this, but think the following could create a user with propper
    > named KDE directories.


    I concur.

    > Create the user using YaST > Security and users > users in the normal
    > way. Then edit that users ~/.profile and set the proper
    >
    > Code:
    > --------------------
    > export LANG=nl_NL.UTF-8
    > --------------------


    Correction here, relatively new feature. Instead create file "~/.i18n" with
    the lines:

    Code:
    LANG=nl_NL.UTF-8
    LC_ALL=nl_NL.UTF-8
    This has to be done via text mode login, ie, before the initial directories
    are created.

    > Then let the user login in the KDE GUI and see what is created.
    > Maybe someone knows a better, more sophisticated way to do this.


    Ask for that feature... language choice when user is created in YaST perhaps.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •