[Kde-kiosk] [kde-linux] Problem fully setting KDE locale from $LANG

Murray Trainer mtrainer at central-data.net
Thu May 29 06:48:27 CEST 2008


> On Wednesday 28 May 2008, Murray Trainer wrote:
> > Hi,
> >
> > I can set $LANG and $KDE_LANG to my particular language, eg. en_US.UTF-8
> > and KDE appears in the required language but the dates are not in US
> > format.  I have to hard code the Country and Language entries in my
> > kdeglobals in my kiosk profile (see  below) to make it work correctly.
> > If I try and use environment variables in kdeglobals they aren't
> > evaluated.  Is there any way to make this work properly?
> 
> You could try shell expansion:
> http://techbase.kde.org/KDE_System_Administration/Configuration_Files#Shell_Expansion
> 
> Cheers,
> Kevin

Hi Kevin,

Thanks for that.  I was just missing the [#e] part in kdeglobals to get
my variables expanded ie.

[Locale]
Country[$e]=$Country
Language[$e]=$Language

I now have everything working properly.

Thanks again

Murray



More information about the kde-kiosk mailing list