[haiku-bugs] Re: [Haiku] #6113: Locale Kit needs a way to load catalogs from libraries

  • From: "zooey" <trac@xxxxxxxxxxxx>
  • Date: Tue, 01 Jun 2010 19:34:45 -0000

#6113: Locale Kit needs a way to load catalogs from libraries
-----------------------------+----------------------------------------------
 Reporter:  zooey            |       Owner:  pulkomandy    
     Type:  bug              |      Status:  assigned      
 Priority:  normal           |   Milestone:  R1            
Component:  Kits/Locale Kit  |     Version:  R1/Development
 Keywords:                   |    Platform:  All           
Blockedby:                   |       Patch:  0             
 Blocking:  5889             |  
-----------------------------+----------------------------------------------

Comment(by zooey):

 Replying to [comment:2 pulkomandy]:
 > Ok.
 > It is possible to load a catalog by hand if you provide it with a
 signature (this is what we do already for thing like StringForSize).

 Do we? I can't seem to find it. All I can see is that we are calling
 LocaleRoster::GetSystemCatalog(), which in turn uses the private method
 LocaleRoster::LoadCatalog(). But since that is private, no one else can
 use it to load a catalog with an explicit signature.

 > For now this stuff is gathered in a single catalog attached to the
 locale library, but it is likely better to split it over to other libs.

 Yes, only libbe should use the 'system' catalog (which we could rename to
 libbe.catalog), any other library should use its own catalog.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6113#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: