Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 28 Jul 2014, 19:07
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
What's the difference between LANG & LANGUAGE?
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
sccat

Joined: 22 Aug 2005
Posts: 160

PostPosted: Fri 23 Jun 2006, 01:31    Post subject:  What's the difference between LANG & LANGUAGE?  

What's the difference between LANG & LANGUAGE?

such as:

export LANG=XXXX
export LANGUAGE=XXXX

Thanks.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 23 Jun 2006, 11:47    Post subject:  

export LANGUAGE=XXXX

This is not used I think, at least not as standard.

You have 6 or more locale values.
You can see them in /usr/lib/locale/
You can set all togeteher with LC_ALL
export LC_ALL=de_DE

While testing some language-stuff, I found out, that this works good in /etc/profile:
LANG=vi
export $LANG
LC_ALL=vi
export $LC_ALL

Unfortunately some programs crash with such settings (some wizards).
In that case, you must add these 2 lines after the first line in the problematic wizard-script (#!/bin/sh):
export LANG=C
export LC_ALL=C

Mark
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0378s ][ Queries: 11 (0.0041s) ][ GZIP on ]