[wp-trac] Re: [WordPress Trac] #10165: New implementation of MO
file reader
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 28 11:28:47 GMT 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):
I tried to understand issues reported in comments on #10236. I'm not quite
familiar with trac and can't follow the timeline and relations of posts
and comments that clearly.
Nevertheless I changed my implementation a bit. I removed any
PHP5-specific stuff and added support for the reported multibyte
overloading issue. Next I dropped senseless integration of non-persistent
WP object cache and added three simple methods to manage cached
translation maps in wp-content/cache/mo internally. I tested my previous
code on whether its working with plugins' translations as well. Here I'm
having wpcf contact form and nextgen gallery both getting translation
files successfully loaded by my class.
I don't know current state of things and thus provide my updated post as-
is again. Hope you'll find it useful ...
Best Regards,
Thomas Urban
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10165#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list