[wp-trac] Re: [WordPress Trac] #10165: New implementation of MO file reader

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 2 14:01:39 UTC 2009


#10165: New implementation of MO file reader
-------------------------+--------------------------------------------------
 Reporter:  soletan      |       Owner:  nbachiyski                                        
     Type:  enhancement  |      Status:  new                                               
 Priority:  normal       |   Milestone:  2.9                                               
Component:  i18n         |     Version:  2.8                                               
 Severity:  normal       |    Keywords:  l10n MO performance needs-testing needs-unit-tests
-------------------------+--------------------------------------------------

Comment(by soletan):

 Replying to [comment:6 ryan]:
 > The cache API should be used. It is not useless if someone installs a
 persistent caching backend.  Writing directly to files breaks the cache
 abstraction and will not work nicely in multi-server MU environments.

 Even though I consider this cache API including some limitations on
 automatically testing for cache-external updates to cached data requiring
 flushing the latter I agree with you in the fact that breaking APIs isn't
 acceptable.

 So here is another version of my implementation using WPs cache API again.
 I didn't test that but it should work nevertheless.

 This version includes further improvements regarding support for MO files
 not containing hashes maybe fixing previously reported issues on failing
 to read some plugins' translation catalogues. This was done with the
 support of H. Rabe from codestyling.de ...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10165#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list