LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-22-2005, 09:44 PM   #1
Peff
Member
 
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 37

Rep: Reputation: 15
pass locale info to a specific application?


Hi,

Is there a way to pass locale information (LANG, LC_ALL, etc) info to a specific application only? I am trying to enable OpenOffice 1.1.3 to support Korean and if I set LANG or LC_CTYPE to ko_KR-utf-8 then ami does run and I can input korean, but I also get man pages and other apps displaying korean too, which is bad.

BTW I'm using FVWM2, not KDE or Gnome.

suggestions?

thanks

Peff
 
Old 06-23-2005, 03:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
In a shell:
LANG=ko_KR-utf-8 swriter

Or, in other words, write a little script for the apps that
need the special feature. If you set the environment
variable like that it will only be valid for that process.


Cheers,
Tink
 
Old 06-24-2005, 04:40 AM   #3
Peff
Member
 
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 37

Original Poster
Rep: Reputation: 15
Exactly what I needed to know!

thanks

Peff
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
get info about a specific process hfawzy Programming 4 01-31-2007 01:11 PM
How do I get PID info about a specific script? Stepaj47 Linux - Newbie 2 11-14-2005 04:31 PM
Change locale for an application? codec Linux - General 0 04-18-2004 05:57 AM
request for VL specific security info aus9 VectorLinux 1 12-11-2003 05:43 PM
iptables & dnat how to pass original src ip/domain info sdbaroni Linux - Networking 2 08-26-2003 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration