language switching on app start

Thiago Macieira thiago at kde.org
Wed Feb 8 12:07:49 GMT 2006


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.

That avoids restarting kdeinit, but doesn't let it be used for one call 
only. What we have is analogous to execv and we need one execve.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

3. Ac seo woruld wearð geborod, swá se Scieppend cwæð "Gewurde Unix" and 
wundor fremede and him "Unix" genemned, þæt is se rihtendgesamnung.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060208/7c782f03/attachment.sig>


More information about the kde-core-devel mailing list