language switching on app start
klingens at kde.org
Wed Feb 8 11:56:20 GMT 2006
On Wednesday 08 February 2006 12:02, Jens Herden wrote:
> 1. I have no konqi preloaded and no running instance and I still get the
> English interface.
That's because klauncher is running in your default locale. Try 'KDE_LANG=km
kdeinit' first, but that will start pretty much anything in Khmer locale.
What will work for you apart from a small race condition where other apps
might still get started in Khmer locale is to script the following:
kfmclient openProfile webbrowsing
The last line will restart kdeinit with the original locale. You may need a
sleep 1 or so before the last kdeinit. Also, the net result of this is
KDE_LANG=km konqueror --profile webbrowsing
Arguably KDE could pass the KDE_LANG value to klauncher so it gets set before
the fork, but that still only works for exec()ed processes, not for dlopened
kdeinit apps like Konqueror. I doubt it's worth it. Plus, current klauncher
AFAIK doesn't support such a mechanism, so it won't be before KDE 4 anyway.
More information about the kde-core-devel