l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Feb 03 08:43

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] multi-language internet-cafe-style linux box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] multi-language internet-cafe-style linux box

On Wed, 02 Feb 2005 11:09:06 -0800
Dave Margolis <margolisdm@earthlink.net> wrote:

> I'm looking at putting together a multi-language public 
> internet-browsing/e-mail box for a school project.
> I plan to start out with KDE's kiosk framework (though I'm pretty open
>  at this point).  KDE w/ its i18n support seems appropriate for this,
>  but 
> there may be other methods.
> I'd like to see this box be able to switch languages on the fly.  The 
> strategy I have envisioned for this is to have desktop-shortcut-driven
>  shell scripts that would do the following:
> 1. Change the language settings for the desktop environment.
> How do I do this programtically (i.e. without going into the KDE 
> language settings in the configuration manager)?
> 2. Change a symlink for applications.  For example, 
> /home/USER/bin/firefox would change from /usr/local/firefox_en/firefox
>  to /user/local/firefox_es/firefox.  I was considering a similar
>  approach 
> for OpenOffice, if I choose to include an office app.
> Is this a reasonable approach?  It will be a bit of a waste of disk 
> space, but seems easier than attempting to programatically switch 
> language packs and/or settings.
> Any other thoughts or suggestions?  Any good links/resources?

If you have the necessary i18n packages installed, then you select the
language using the LANG environment variable. For example, if I want to
run Gaim with hebrew localication, then I run
$ LANG=he_IL gaim

Because of the way in which environment variables propagate, you'll
probably need to completely log out and then log in again using the new
language. (Unless KDE has some kind of wierd DCOP way to change
languages on the fly.

--Ken Bloom

I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.

Attachment: pgp00000.pgp
Description: PGP signature

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!