l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social Gathering
Next Installfest:
Sat. Sept. 27, 10am-6pm
Latest News:
Aug. 30: September Installfest scheduled
Page last updated:
2005 Feb 03 08:43
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


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
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


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

CD Burns Wanted!

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
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:
California Computer News
Who donated books and ad space.