[wp-hackers] Translation/language issue in latest dev build
yahgrp at poplarware.com
Tue Jan 16 01:46:28 GMT 2007
I thought I would test a couple of plugins for compatibility against
the SVN repository (this seems to be a good idea?).
One plugin I was testing, which is a modified version of Polyglot
(which allows you to create a multi-lingual blog), is having some
trouble. When the plugin detects that I'm asking for a Spanish
language post, it sets the locale of WordPress to Spanish. This of
course means that all the text on the blog page that has been
Gettexted is translated into Spanish -- at least, that is what is
supposed to happen (and did in 2.0.6). But instead I am getting a
totally blank page (even on the Admin pages). When I remove the .mo
file, everything comes back (but of course not translated). The .mo
file worked fine in 2.0.6.
Unfortunately, I don't have a good setup for debugging (since I run
PHP/MySQL on a hosted server), so it is hard to tell exactly what is
happening (no PHP error messages).
So I am wondering, has something major changed in how gettext or
translations are done, between 2.0.6 and the current dev version of
WordPress? Meanwhile, I'll keep poking around...
Poplar ProductivityWare * www.poplarware.com
Web Databases/Scripts * Modeling/Analysis/Palm OS Software
More information about the wp-hackers