Plugin Author
Bjoern
(@greencp)
Yes, native gettext and JIT localize are the best option. If native gettext isn’t available or doesn’t work use MO-Dynamic. They don’t have to be activated simulaneously.
Disable JIT if any script errors occur when using it (if so, please post them here so I can try to fix them).
BTW: I rearranged the Settings by “prioriy” in 0.5.2 and added some more info in the help tab and in the FAQ section on the plugin page.
Thread Starter
Li-An
(@li-an)
OK, I found some problem with JIT with Relevanssi -http://wordpress.org/plugins/relevanssi/ (background color for searched terms do not show) – and Search in Place http://wordpress.org/plugins/search-in-place/ is broken.
Plugin Author
Bjoern
(@greencp)
Both work with my test Installation. Please check if WPPP is loaded as first plugin (you can use Debug Bar for this). Or just deactivate and reactivate WPPP. This should set WPPP as first loaded plugin.
Thread Starter
Li-An
(@li-an)
Well, on my theme – a premium theme Simplemag – it breaks the showing of the images… And you cannot test it as it’s not a free theme π
http://www.li-an.fr/blog/
Plugin Author
Bjoern
(@greencp)
I just visited your blog and both plugins seem to work without problems. Search in Place showed correctly and search terms are “background-highlighted” on the search results page.
But I guess JIT is deactived… so no wonder it works. Sometimes I should think first, then post…
Thread Starter
Li-An
(@li-an)
Yes, I had to desactivate JIT π Well, it’s not a big deal. Maybe some other people will have the same problem with a free theme and it will be more easy to study – did not test Search in Place but I will.
Plugin Author
Bjoern
(@greencp)
Latest update (0.6.1) includes some fixes in the JIT module. Maybe these fix your previous problems.
Thread Starter
Li-An
(@li-an)
Thanks. I will have a look. I suppose even with cache system, Mo-Dynamic still comes second choice ?
Well, 0.6.1 does not fix my problems π
Plugin Author
Bjoern
(@greencp)
I added an updated Benchmark in the screenshot section. With activated cache MO-Dynamic was as fast as native gettext in my tests (even a few milliseconds faster). The reason for this being, that only used translations are cached. One Cache is used for all front end pages (front pages usually don’t need many translations, so this shouldn’t get too big). For the back end one cache per backend-page is used. Given a fast object cache (I’ve tested with file caches and APC – Benchmark used APC) this could get even fast than in my benchmarks.
So in short: Provided a fast object Cache is installed, MO-Dynamic should be at least as fast as native gettext.
Plugin Author
Bjoern
(@greencp)
One more update for you. I took another look at your Website and found you are using bwp minify. That was the cause for your Problems (or at least it was a cause for problems), which I could fix.
So once again – please give it a try…