WordPress.org

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 I see the translations appearing in my theme/plugin?

All Loco Translate does is manage your translation process and organize your files, it does not run when people are visiting your site.

If you think Loco is saving invalid MO files or putting them in the wrong place, then open a support ticket, but please see this extended FAQ before posting.

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

See more tips on localizing your theme.

Do I need to create a POT (template) file?

If you’re not familiar with the Gettext workflow and don’t plan to distribute your plugin then you might want to work without a POT file.

There are some good reasons to maintain a POT file, but Loco Translate doesn’t require it and can sync your translations directly with your source code.

Why do I get file warnings when I try to save translations?

To save PO files directly to your site some files and directories must be writable by the web server. If you're unsure how to manage file permissions on your server, ask your system administrator or hosting provider.

If writable directories pose a security risk then restrict translation to a development server. The file permissions are only required for editing translations and not related to viewing them.

How do I create MO files?

Every time you save a PO file Loco Translate 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.

Why do I get a syntax error when saving and syncing?

This error means something has gone unexpectedly wrong on your server. See this extended FAQ for some tips on what to do.

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 has a Windows operating system the plugin may not work properly.

This is too technical; why doesn’t it just work?

In most cases it does, but Loco Translate is not a standalone application - it runs on your server and extraneous factors occasionally cause problems. If the plugin is unable to handle a particular situation automatically then you might have to intervene, and there isn’t always a non-technical solution to a technical problem.

If you think there is a problem with Loco Translate you can open a support ticket and provide as much relevant detail as possible.

If you have a suggestion on how to improve the experience of using Loco Translate then please get in touch.

Requires: 3.5 or higher
Compatible up to: 4.1.3
Last Updated: 2015-2-12
Active Installs: 30,000+

Ratings

5 out of 5 stars

Support

12 of 29 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
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,3,3
50,2,1 100,1,1 100,2,2
100,6,6