#5559 HIGH Update.: change language to Turkish, machine keeps rebooting

Zarro Boogs per Child bugtracker at laptop.org
Sat Jan 12 03:47:50 EST 2008


#5559: change language to Turkish, machine keeps rebooting
---------------------+------------------------------------------------------
  Reporter:  chihyu  |       Owner:  marco   
      Type:  defect  |      Status:  new     
  Priority:  high    |   Milestone:  Update.1
 Component:  sugar   |     Version:          
Resolution:          |    Keywords:  review+ 
  Verified:  0       |    Blocking:          
 Blockedby:          |  
---------------------+------------------------------------------------------

Comment(by rkern):

 Okay, I figured out how to replicate this without GTK or the XO. GTK isn't
 the problem; numpy is. In Python, the locale will be 'C' unless if the
 user's locale is specifically requested. Apparently, gtk does this.

 {{{

 $ LANG=tr_TR.UTF-8 python -c "import
 locale;locale.setlocale(locale.LC_ALL, '');print repr('VOID'.lower())"
 'voId'
 $ LANG=tr_TR.UTF-8 python -c "import
 locale;locale.setlocale(locale.LC_ALL, '');print repr(u'VOID'.lower())"
 u'void'
 }}}

 It appears that the result of {{{u'VOID'.lower()}}} is not locale-
 dependent.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5559#comment:18>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list