[haiku-bugs] [Haiku] #7495: program to get locale settings

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Sun, 08 May 2011 22:59:30 -0000

#7495: program to get locale settings
---------------------------------------------+-------------------------
 Reporter:  mmadia                           |        Owner:  nobody
     Type:  bug                              |       Status:  new
 Priority:  normal                           |    Milestone:  R1
Component:  Applications/Command Line Tools  |      Version:  R1/alpha2
 Keywords:                                   |   Blocked By:
 Blocking:  7412                             |  Has a Patch:  0
 Platform:  All                              |
---------------------------------------------+-------------------------
 Paraphrasing from ticket:7412#comment:10

 We need a command line tool that:
  1. fetches the current locale settings (via the locale kit)
  1. returns a corresponding POSIX locale string.
  1. set the locale environment variable(s) in /etc/profile

 Note: having that variable in SetupEnvironment would not be the best
 place. (SetupEnvironment is executed only on boot-up, so it cannot work
 for multi-user and locale settings changes wouldn't take effect until
 reboot.)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7495>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: