[Bugs] #622 HIGH: translations not working if installed to non-system path

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Thu Aug 20 06:28:23 EDT 2009


#622: translations not working if installed to non-system path
-----------------------+----------------------------------------------------
    Reporter:  erikos  |          Owner:  tomeu            
        Type:  defect  |         Status:  assigned         
    Priority:  High    |      Milestone:  0.86             
   Component:  sugar   |        Version:  Git as of bugdate
    Severity:  Major   |     Resolution:                   
    Keywords:          |   Distribution:  Unspecified      
Status_field:  New     |  
-----------------------+----------------------------------------------------

Comment(by sascha_silbe):

 Just stumbled about the following code block in
 sugar.activity.activityfactory.get_environment():

 {{{
     if activity.get_path().startswith(env.get_user_activities_path()):
         environ['SUGAR_LOCALEDIR'] = os.path.join(activity.get_path(),
 'locale')
 }}}

 Maybe making this assignment unconditional would fix (a part of) our
 problem?

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/622#comment:5>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list