Re: [kde-linux] Problem fully setting KDE locale from $LANG
Murray Trainer <[email protected]> Thu, 29 May 2008 12:48:27 +0800
| Newsgroups | gmane.comp.kde.kiosk |
|---|---|
| Message-ID | <1212036507.15232.3.camel@localhost> |
> 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