language switching on app start

Martijn Klingens klingens at kde.org
Wed Feb 8 12:18:21 GMT 2006


On Wednesday 08 February 2006 13:07, Thiago Macieira wrote:
> Martijn Klingens wrote:
> >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.
>
> You can use the setLaunchEnv call on DCOP interface klauncher klauncher.

And another neat trick learned today :)

Out of curiosity, does that currently work even for kdeinit-dlopen stuff? Or 
only for exec?

-- 
Martijn




More information about the kde-core-devel mailing list