Loco Translate

Loco Translate | Tim Whitlock

Description

Loco Translate provides in-browser editing of WordPress translation files and integration with automatic translation services.

It also provides Gettext/localization tools for developers, such as extracting strings and generating templates.

Features include:

  • Built-in translation editor within WordPress admin
  • Integration with translation APIs including DeepL, Google, Microsoft and Yandex
  • 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
  • PO source view with clickable source code references
  • Protected language directory for saving custom translations
  • Configurable PO file backups with diff and restore capability
  • Built-in WordPress locale codes

Official Loco WordPress plugin by Tim Whitlock.
For more information please visit our plugin page.

Keyboard shortcuts

The PO file editor supports the following keyboard shortcuts for faster translating:

  • Done and Next: Ctrl ↵
  • Next string: Ctrl ↓
  • Previous string: Ctrl ↑
  • Next untranslated: Shift Ctrl ↓
  • Previous untranslated: Shift Ctrl ↑
  • Copy from source text: Ctrl B
  • Clear translation: Ctrl K
  • Toggle Fuzzy: Ctrl U
  • Save PO / compile MO: Ctrl S
  • Toggle invisibles: Shift Ctrl I
  • Suggest translation: Ctrl J

Mac users can use ⌘ Cmd instead of Ctrl.

Installation

Basic usage:

Translators: To translate a theme into your language, follow these steps:

  1. Create the protected languages directory at wp-content/languages/loco/themes
  2. Ensure this directory writeable by the web server
  3. Find your theme in the list at Loco Translate > Themes
  4. Click + New language and follow the on-screen prompts.

Developers: To translate your own theme or plugin for distribution, follow these steps:

  1. Create a languages subdirectory in your bundle’s root directory
  2. Ensure this directory writeable by the web server
  3. Find the bundle at either Loco Translate > Themes or Loco Translate > Plugins
  4. Click + Create template and follow the on-screen prompts to extract your strings.
  5. Click + New language and follow the on-screen prompts to add your own translations.

Installing manually:

  1. Unzip all files to the wp-content/plugins/loco-translate directory
  2. Log into WordPress admin and activate the ‘Loco Translate’ plugin through the ‘Plugins’ menu
  3. Go to Loco Translate > Home in the left-hand menu to start translating

More information on using the plugin is available here.

Plugin author

Tim Whitlock

Plugin official website address

https://wordpress.org/plugins/loco-translate/
If you encounter problems in using the Loco Translate plugin, you can comment below, and I will try my best to help you solve the problem

Leave a Comment

Your email address will not be published. Required fields are marked *