[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Multimedia Planning for KDE3
From:       Josef Spillner <dr_maux () maux ! de>
Date:       2001-08-26 19:42:57
[Download RAW message or body]

On Sunday 26 August 2001 21:10, Hans Petter Bieker wrote:
> Not really, because it will will not be displayed in the same language as
> KDE.

Why not? Normally $LANG should be set correctly.
Even if it's not, there's the chance to not include klocale, and trick around 
using the following:

void setlanguage(const char *language)
{
    extern int _nl_msg_cat_cntr;
    setenv("LANGUAGE", language, 1);
    ++_nl_msg_cat_cntr;
}

(quoted from the info manual)
This could read the language from ~/.kde/share/config/kdeglobals.
Correct me if I'm wrong :)

Josef

-- 
The MindX Open Source Project: Fighting proprietary games
GGZ now! - The GGZ Gaming Zone: http://ggz.sourceforge.net
ggz.morat.net | ggz.snafu.de | jzaun.com | mindx.sourceforge.net/europeone

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic