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 Wed 22 Oct 2014, 01:01
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 Posts_count  
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0602s ][ Queries: 12 (0.0271s) ][ GZIP on ]