[wp-testers] Plugin locale MO file doesn't work.

Mark Jaquith mark.wordpress at txfx.net
Thu Feb 8 18:54:15 GMT 2007


On Feb 8, 2007, at 12:52 PM, Paveo Chen wrote:

> Hi,all.I put the translated wp-db-backup-xx_yy.mo file to the wp- 
> content/plugins folder and the Backup interface still be the  
> en_US.I had tried put a line of "load_plugin_textdomain('wp-db- 
> backup','wp-content/plugins');" to the top of the plugin file,but  
> still no effect.  Is it a bug?

(1) You should delay load_plugin_textdomain() until the 'init' action
(2) You have your locale set to xx_yy?
(3) Is the plugin properly i18n'd using the wp-db-backup domain?

--
Mark Jaquith
http://markjaquith.com/

Covered Web Services
http://coveredwebservices.com/




More information about the wp-testers mailing list