#9982 NORM 1.5-sof: locale-archive file huge

Zarro Boogs per Child bugtracker at laptop.org
Tue Feb 9 09:04:05 EST 2010


#9982: locale-archive file huge
------------------------------------+---------------------------------------
           Reporter:  sayamindu     |       Owner:  sayamindu                         
               Type:  defect        |      Status:  new                               
           Priority:  normal        |   Milestone:  1.5-software-later                
          Component:  localization  |     Version:  1.5 Software Build os64 aka 10.1.0
         Resolution:                |    Keywords:                                    
        Next_action:  review        |    Verified:  0                                 
Deployment_affected:                |   Blockedby:                                    
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by sayamindu):

 Replying to [comment:5 cjb]:
 > Replying to [comment:4 sayamindu]:
 > > Could you possibly push this ?
 >
 > Yes, will give it a try.
 >

 Thanks!

 > > It does not take care of /usr/share/locale, but I think the files in
 /usr/share/locale should be left in the builds, since if we need to add
 support for a locale at deployment site, localedef would get the
 definitions from files in /usr/share/locale
 >
 > I think the answer depends on how much disk space is involved.  I don't
 agree that we should necessarily spend tens of megs shipping strings for
 locales we're extremely unlikely to need.
 >

 Oops - I'm sorry. I confused between /usr/share/locale and
 /usr/share/i18n. We already prune /usr/share/locale in the build process
 (all translations except those mentioned in the ini files are removed). Of
 course, we can remove German, etc from that list as well.

 /usr/share/i18n is the directory that stores the locale definition (not
 strings) which can be used to generate the localedata archive and its
 around 9.8 MB in size (it can be compressed to around 3.2 MB if required).

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


More information about the Bugs mailing list