WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Loco Translate

Translate WordPress plugins and themes directly in your browser

Does this automatically translate my project?

No. It's for manually entering your own translations, but we do intend to be integrating some automatic translation services into the plugin soon.

Why can't it extract any translatable strings from my code?

The extraction process looks for WordPress translation functions with string literal arguments, such as __('Foo').

Using your own custom functions like myTranslate('Foo') won't work. Neither will using variables, such as __( $foo ).

Do I need to create a POT file?

There are some good reasons to do so, but you don't have to in order to use this plugin.

Loco Translate allows you to work purely with PO files and keep them up to date with the source code without the interim step of maintaining a POT file.

Why do I get errors when I try to save translations?

To save PO files directly to your project, the files must be writable by the web server.

You shouldn't do this on a live server, only for developing your theme or plugin on a local server.

If you're unsure how to set file permission on your server, ask your system administrator.

How do I create MO files?

Every time you save a PO file, Loco tries to compile a MO file in the same location. As above, ensure that the web server is able to write to disk, otherwise MO compilation will fail.

If you have Gettext installed on your server you can use this instead of Loco's built-in compiler. You can configure the path to the msgfmt program in the Settings tab.

Does it support Windows?

At the user end, yes you can access the interface on Windows using Internet Explorer. But Loco Translate does not support Windows versions of PHP, so if your server running WordPress has a Windows operating system the back end won’t work.

Requires: 3.5 or higher
Compatible up to: 3.9
Last Updated: 2014-4-17
Downloads: 13,270

Ratings

5 stars
5 out of 5 stars

Support

4 of 9 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,2,2
0,1,0 100,1,1