[opensuse] Switching languages between sessions....
I have a need to run KDE in different languages under that same user id at different times. I would have expected to find a "Language" selection on the login screen. There isn't one there...and I couldn't find a way to add it or easily start a new session with a different language. How are other folks dealing with this? Ed -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 25 January 2010 20:26:05 Ed Greshko wrote:
I have a need to run KDE in different languages under that same user id at different times. I would have expected to find a "Language" selection on the login screen. There isn't one there...and I couldn't find a way to add it or easily start a new session with a different language.
How are other folks dealing with this?
Do you need complete language switch or just keyboard? In first case it would be cleaner solution to use users named by language it will be used so that you don't have mix of documents in different languages in one user directory. I'm not sure how it will affect application settings in .kde4 directory. Second case is built in. You can have keyboard switcher in system tray (panel). It can be found in: Configure Desktop >> Regional & Language >> Keyboard Layout See also: Just above is Country/Region & Language that offers few languages, and settings) to be added, but I never used that, so I don't know how it works, ie. is there switcher in system tray like there is for keyboard layout, or you have to use Configure Desktop >> Regional & Language every time you want to switch language. Don't forget to consult the Help button that gives sparse, but useful information on this selection.
Ed
-- Regards Rajko, openSUSE Wiki Team: http://en.opensuse.org/Wiki_Team People of openSUSE: http://en.opensuse.org/People_of_openSUSE/About -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 30 Jan 2010, 15:39:58 +0100, Rajko M. wrote:
On Monday 25 January 2010 20:26:05 Ed Greshko wrote:
I have a need to run KDE in different languages under that same user id at different times. I would have expected to find a "Language" selection on the login screen. There isn't one there...and I couldn't find a way to add it or easily start a new session with a different language.
How are other folks dealing with this?
Do you need complete language switch or just keyboard?
In first case it would be cleaner solution to use users named by language it will be used so that you don't have mix of documents in different languages in one user directory. I'm not sure how it will affect application settings in .kde4 directory.
Second case is built in. You can have keyboard switcher in system tray (panel). It can be found in: Configure Desktop >> Regional & Language >> Keyboard Layout
See also: Just above is Country/Region & Language that offers few languages, and settings) to be added, but I never used that, so I don't know how it works, ie. is there switcher in system tray like there is for keyboard layout, or you have to use Configure Desktop >> Regional & Language every time you want to switch language.
Don't forget to consult the Help button that gives sparse, but useful information on this selection.
The easiest way probably is to simply run env LANG=whichever_lang_I_prefer LC_ALL=whichever_lang_I_prefer command where "whichever_lang_I_prefer" can be something like "de_DE.UTF-8" and "command" is the command to be executed. This can be started from a terminal (of course ;-), or using Alt-F2. HTH, cheers. l8er manfred -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rajko M. wrote:
On Monday 25 January 2010 20:26:05 Ed Greshko wrote:
I have a need to run KDE in different languages under that same user id at different times. I would have expected to find a "Language" selection on the login screen. There isn't one there...and I couldn't find a way to add it or easily start a new session with a different language.
How are other folks dealing with this?
Do you need complete language switch or just keyboard?
I want a complete language switch so all the menus are in the language I wish to use at that moment.
In first case it would be cleaner solution to use users named by language it will be used so that you don't have mix of documents in different languages in one user directory. I'm not sure how it will affect application settings in .kde4 directory.
That isn't a clean solution for me since I don't want to compartmentalize. I guess would have been helpful to ask if KDM has the same capability as GDM. When using GDM the login screen has a selection for "language".
Second case is built in. You can have keyboard switcher in system tray (panel). It can be found in: Configure Desktop >> Regional & Language >> Keyboard Layout
Of course I use SCIM when I wish to input in the different languages I use. So, I have no issue with switching input methods in any given session.
See also: Just above is Country/Region & Language that offers few languages, and settings) to be added, but I never used that, so I don't know how it works, ie. is there switcher in system tray like there is for keyboard layout, or you have to use Configure Desktop >> Regional & Language every time you want to switch language.
Don't forget to consult the Help button that gives sparse, but useful information on this selection.
But, to rephrase my question since I certainly wasn't clear initially..... Can I get KDM to offer a "language" selection similar to what GDM does now? Ed -- A countryman between two lawyers is like a fish between two cats. -- Ben Franklin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 30 January 2010 17:49:52 Ed Greshko wrote:
But, to rephrase my question since I certainly wasn't clear initially.....
Your question was clear, but I'm not sure what is your use case. I understand that currently the best solution for you is to login in session with particular language as default. This implies that you have users that are familiar with one of languages and have no interest in other. Taking some problems with regular KDE update process, I would be conservative and not allow mix of languages at application translation level in a single user directory. There should be no problems, but that kind of mix is for sure not well tested as no many users need it, and there can be bugs making my life much more exciting then I want. That was the reason to propose use of separate directories. If your use case is different, in other words you have single user that wants ability to use multiple languages, then making decision at login time is not optimal, you would need some kind of language switch during the session, probably multiple menus within Main menu one per language, or multiple entries for each application that will start it with different language as default. Something like Konqueror-DE for German language. Both will use the same basic mechanism, of setting LANG and starting application, but without using Konsole or KRunner as mentioned in Manfred post, just click on menu item and you have language you want. Interesting is that testing how this can be accomplished, using Menu Editor, original line in menu item for Konqueror with added language variable LANG=de_DE.UTF-8 kfmclient openProfile webbrowsing that suppose to start Konqueror in web browsing mode with German menus, did not work, but LANG=de_DE.UTF-8 konqueror worked fine. The kfmclient did not ask for LANG on input line, but konqueror did. Further tests on real command line gave the same result, kfmclient ignoring LANG setting even given as: env LANG=de_DE.UTF-8; kfmclient openProfile webbrowsing or export LANG=de_DE.UTF-8 while konqueror worked as expected. The test with Kate worked fine, just adding LANG=de_DE.UTF-8 ahead of "kate %u" did the job. Kate had German menus. This tells me that language switching is not perfect, and that my conservative approach is probably better way to keep everything in well tested paths.
Can I get KDM to offer a "language" selection similar to what GDM does now?
I tried to get original KDE login screen, to see what it offers, but with 11.2 and KDE 4.3.4 I wasn't able to set anything different from openSUSE default. Whatever I wanted, it will login using default openSUSE that has no language selection. So currently answer is no. There is no switch. -- Regards Rajko, openSUSE Wiki Team: http://en.opensuse.org/Wiki_Team People of openSUSE: http://en.opensuse.org/People_of_openSUSE/About -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rajko M. wrote:
Can I get KDM to offer a "language" selection similar to what GDM does now?
I tried to get original KDE login screen, to see what it offers, but with 11.2 and KDE 4.3.4 I wasn't able to set anything different from openSUSE default. Whatever I wanted, it will login using default openSUSE that has no language selection. So currently answer is no. There is no switch.
I can see the best solution is to run GDM as the display manager instead of KDM. Thanks, Ed -- I'd horsewhip you if I had a horse. -- Groucho Marx -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Ed Greshko
-
Manfred Hollstein
-
Rajko M.