Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

POSIX locale == en_US or en_GB??

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Paapaa
l33t
l33t
User avatar
Posts: 955
Joined: Sun Aug 14, 2005 8:45 am
Location: Finland

POSIX locale == en_US or en_GB??

  • Quote

Post by Paapaa » Sun Jan 08, 2006 9:22 pm

I just started to use UTF-8. I'm actually a Finnish user but want to see everything in English. Previously I've been using POSIX (default) locale.

1. Is POSIX locale closer to en_GB or en_US? I just want to keep things unaltered.

2. What are the main differences between en_GB and en_US considering LC_MESSAGES or is there any difference?
Top
ovokinder
n00b
n00b
Posts: 13
Joined: Sun Feb 27, 2005 9:57 am

  • Quote

Post by ovokinder » Sun Jan 08, 2006 11:07 pm

I'm not sure what the differences are between en_US and en_GB, but if you want to use finnish locales and english messages, try something like this:

/etc/env.d/02locale

Code: Select all

LANG="en_GB.UTF-8"
LC_CTYPE="pt_PT.UTF-8"
LC_NUMERIC="pt_PT.UTF-8"
LC_TIME="pt_PT.UTF-8"
LC_COLLATE="pt_PT.UTF-8"
LC_MONETARY="pt_PT.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="pt_PT.UTF-8"
LC_NAME="pt_PT.UTF-8"
LC_ADDRESS="pt_PT.UTF-8"
LC_TELEPHONE="pt_PT.UTF-8"
LC_MEASUREMENT="pt_PT.UTF-8"
LC_IDENTIFICATION="pt_PT.UTF-8"
LC_ALL=""
...then env-update && source /etc/profile

You'll want to swap pt_PT by your locale :)

On a side note... usually, you'll only need the LC_MESSAGES to english, but some apps (eg. KVirc) respect LANG, instead of LC_MESSAGES.
Live forever!!! or die trying...
Top
Paapaa
l33t
l33t
User avatar
Posts: 955
Joined: Sun Aug 14, 2005 8:45 am
Location: Finland

  • Quote

Post by Paapaa » Wed Jan 11, 2006 10:01 am

Thanks, but I already know how to change locales. I just want to know the difference between POSIX, en_US, en_GB when cosidering LC_MESSAGES (ie. the language of a program). Maybe there is no difference?
Top
maxcow
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Fri Jul 04, 2003 5:21 pm

  • Quote

Post by maxcow » Wed Jan 11, 2006 2:43 pm

I think the POSIX locale "C" is usually in en_US. A quick check sows that:

Code: Select all

$ ls /usr/share/locale/en_GB/LC_MESSAGES/* | wc -l
103
ls /usr/share/locale/en_US/LC_MESSAGES/* | wc -l
1
Which means there is a significative en_GB translation, but no significative en_US translation, supporting my theory :)

(btw, the one package "translated" into en_US is gcalctool).
Top
ecatmur
Advocate
Advocate
User avatar
Posts: 3595
Joined: Mon Oct 20, 2003 8:07 pm
Location: Edinburgh
Contact:
Contact ecatmur
Website

  • Quote

Post by ecatmur » Wed Jan 11, 2006 2:57 pm

The "C" locale is whatever the author decides to write it in. It is usually US english, but that's just convention; it could be French, or Urdu, or Klingon.
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Top
Post Reply

5 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic