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
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.
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)
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
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.
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.
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)
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
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
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
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.
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:
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)
Thanks all of the answers. Assigning user-interface language works.
@Henk: I tried your hint about editing users’ .profile settings but it hasn’t been worked for me. But, perhaps I did something wrongly.
@Carlos: Your advice works. Edit or create users’ .18n settings results national folder names under users’ Home folder.Thanks again for everybody’s answer.
Cheers,
Istvan
thanks for posting back how you fared. I will try to remember that .i18n file as the key -pace for InternationalisatioN.
On 2012-05-31 13:06, hcvv wrote:
> I will try to remember that
> -.i18n- file as the key -pace for InternationalisatioN.
I’ll just mention that the name stands for 18 letters between the ‘i’ and
the ‘n’. I asked about that once
And in case somebody tries and doesn’t work, this file did not work on oS
11.2 gnome, there was a bug which was solved on next version, so now it
works. On old Linux versions this file might not work.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)