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 ).

Why can't I see the translations appearing in my theme/plugin?

All Loco Translate does is manage your translation process and organize your files. There is more to localizing your theme or plugin than just creating the files.

Make sure you're familiar with the conventions of translating WordPress and if you think Loco is saving invalid files or putting them in the wrong place, then open a support ticket.

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?

You can access the interface on Windows using Internet Explorer, but version 9 or above is recommended.
Loco Translate does not support Windows versions of PHP, so if your server running WordPress has a Windows operating system the back end may not work properly.

Requires: 3.5 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-4
Downloads: 22,103

Ratings

5 stars
5 out of 5 stars

Support

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

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

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