With Loco Translate, a WordPress plugin you can edit PO files and localizing your WordPress site themes and plugins. It provides you a translation editor and provides you features to create or update language files directly in theme or plugin.
Start by installing ‘Loco Translate’ plugin in WordPress
Upon activation, the plugin adds its ‘Loco Translate’ menu in your left side admin menu. It provides you following features:
- Built-in translation editor within WordPress admin
- Create and update language files directly in your theme or plugin
- Extraction of translatable strings from your source code
- Native MO file compilation without the need for Gettext on your system
- Support for PO features including comments, references and plural forms
- Configurable PO file backups
- Built-in WordPress locale code
Visit your admin area dashboard Loco Translate -> Manage Translations in the left-hand menu.
For translating your own WordPress theme or plugin:
- Create a
languages
subdirectory in your plugin or theme’s root directory - Ensure this directory writable by the web server
- Find the theme or plugin in the list at Loco Translate > Manage Translations
- Click
+ New language
and follow the on-screen prompts.
For translating other’s WordPress theme into your language:
- Create the global languages directory exists at
wp-content/languages/themes
- Ensure this directory writable by the web server
- Find the theme in the list at Loco Translate > Manage Translations
- Click
+ New language
and follow the on-screen prompts.