[Bugs] #4327 sugar UNSP: Language CP module displays combo text in 2nd preferred language

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Feb 28 12:48:12 EST 2013


#4327: Language CP module displays combo text in 2nd preferred language
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  erikos  
        Type:  enhancement                |         Status:  reopened
    Priority:  Unspecified by Maintainer  |      Milestone:  1.0     
   Component:  sugar                      |        Version:  0.98.x  
    Severity:  Unspecified                |     Resolution:          
    Keywords:                             |   Distribution:  OLPC    
Status_field:  Unconfirmed                |  
------------------------------------------+---------------------------------

Comment(by manuq):

 Replying to [comment:10 erikos]:
 > There is a long standing bug about the "how to find my own language"
 issue: #51 It has a similar
 [http://bugs.sugarlabs.org/attachment/ticket/51/sl_51.patch patch], and
 issues back then were performance wise. Manuel, can you have a look at the
 old ticket and check the findings there?

 Thanks a bunch for adding historical context.

 Yes I agree with the performance concerns.  We have:

 1. a long delay before opening the Language section, which gives the
 feeling the user click didn't work, specially noticeable in XO-1.

 2. a delay adding a row with the + button.

 Number 1. is because we parse the output of 'locale -av' command to get
 the set of (language, country, code) and the interface is stalled.  We
 should do that async.

 Number 2. is because we translate the set of (language, country, code)
 each time a row is added.  We should cache those translations.  My patch
 makes this even slower.

 So, I will try to do the async and cache.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4327#comment:13>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list