Loco Translate


Loco Translate は、WordPress 翻訳ファイルのブラウザー内編集と自動翻訳サービスとの連携を提供します。

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

Features include:

  • Built-in translation editor within WordPress admin
  • DeepL、Google、Microsoft、Yandex などの翻訳 API との連携
  • 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
  • コメント、参照、複数形などの PO 機能のサポート
  • 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

Tim Whitlock による公式 Loco WordPress プラグイン。


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
  • ファジーの切り替え: Ctrl U
  • PO の保存 / MO のコンパイル: Ctrl S
  • 非表示の切り替え: Shift Ctrl I
  • 翻訳の提案: Ctrl J

Mac users can use ⌘ Cmd instead of Ctrl.


  • Loco PO Editor を使用したブラウザーでの文字列の翻訳
  • テーマ言語ファイルの翻訳の進行状況を表示
  • PO source view with text filter and clickable file references
  • 復帰機能を備えた PO 差分ビューを示すタブを復元
  • インストールされた言語による翻訳へのアクセスの表示
  • 複数のプロバイダーからの結果を表示している提案機能


Basic usage:

翻訳者: テーマの言語を翻訳するには、次の手順を実行します:

  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. すべてのファイルを wp-content/plugins/loco-translate ディレクトリに解凍する
  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



Please visit the FAQs page on our website for the most common issues.

Loco Translate はどう使うのですか ?


さらにヘルプを求めるには ?

If you have a problem using Loco Translate, please try our help pages.
There’s a lot of information there to help you understand how it works and the most common pitfalls to avoid.


Is my data protected?

我々は、お客様のデータを収集したり、盗み見たりしたりしません。プラグインの プライバシーに関するお知らせを参照してください。


Tried just a little, but it was easy to use and worked right away.
It is just an appreciation review for the plugin. I really like your plugin cause it helped a lot with our newly created testing website. With the help of the Loco translate plugin, we could make tons of positive progress during the translation of static strings on the site. Thanks!!
I've been using this plugin for at least 4-5 years and I have never had any issue with it. It works as described (perfectly) and I consider this to be way better solution than using POT Editors. This one will do everything you need within Dashboard, which is awesome. Thanks devs!


Loco Translate はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。


“Loco Translate” は39ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Loco Translate” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。



  • Enforcing safe file extensions for new templates
  • Added filters loco_po_headers and loco_pot_headers
  • Bumped WordPress version to 5.8.1


  • Adds option to merge JSON translations when syncing from PO
  • Adds screen for editing file headers and sync options
  • Fix for missing responseText in failed Ajax responses
  • Fix for HTML entities returned from number_format_i18n
  • Localized number formatting in JavaScript
  • Replaced usage of date_i18n with wp_date
  • Added configurable API endpoint for DeepL
  • Bumped WordPress version to 5.7.2


  • Added implied formality and loco_locale_formality filter
  • Added cli fetch command (experimental)
  • Bumped WordPress version to 5.7


  • 新しい Yandex 翻訳 API のサポート
  • Support for DeepL formality parameter
  • Removed literal “1” and “one” instances from singular strings
  • Buffering compiled JSON to support strings from multiple sources
  • Added loco_compile_single_json filter for specifying custom JSON
  • Added loco_extracted_template hook for adding custom strings
  • Sync no longer removes the editor’s current text filter
  • Bumped WordPress version to 5.6.2


  • PHP 8.0.0 compatibility
  • Bumped WordPress version to 5.6.0
  • Added JSON translation file generation
  • Added custom JSON loading to LoadHelper
  • Disabled emoji image replacement on our admin screens


  • Fixed critical bug syncing PO directly to source code
  • Added plugin setting for allowing/disallowing missing POT
  • Fixed WP5.5 issue with multiple ID attributes on script tags


  • Added WP-CLI sync and extract commands
  • Fixed {locale} placeholder bug introduced in 2.4.4
  • Improved handling of invalid character encodings
  • 同期 (msgmerge) を以下のバックエンドに移動
  • New fuzzy matching with fuzziness setting
  • Bumped WordPress version to 5.5.3


  • Added PO file upload feature
  • Added download button to file info page
  • Fix for extracting plurals also used as singulars
  • Updating API keys no longer require editor page reload
  • Catching fatal startup errors in loco.php
  • サイズ制限なしを意味する max_php_size=0 をサポート
  • Auto-update detection now checks new site options
  • Bumped WordPress version to 5.5.1


  • Improved fix for default syncing of msgstr fields
  • js デバッグフラグの誤った削除を元に戻しました
  • Minor fixes to API error messages
  • jQuery.browser の使用を削除
  • Bugfix for new preferences in usermeta


  • Added loco_file_written hook
  • Improved script tampering warning
  • Added keypress for selecting auto-suggestion
  • 同期はデフォルトで msgstr フィールドをコピーしなくなりました
  • WordPress 5.5のスタイルの微調整


  • Fixed mapping of some API languages
  • Added locale filter to user preferences
  • Added debugging for credential form failures
  • Fixed deprecated use of array_key_exists
  • Added DeepL API service provider
  • Improved script tampering detection
  • Bumped WordPress version to 5.5
  • Added “modern” skin styles


  • サードパーティの翻訳 API のサポートを追加
  • Added file references to editor source pane in code view
  • Added fuzzy matching during editor Sync operation
  • Style changes including rearrangement of editor buttons
  • Elevated warnings when scripts are tampered with
  • レガシーバージョン 1.x の残骸を削除


  • 翻訳可能な文字列を更新
  • 不足しているテンプレートの推奨事項を追加
  • Alerting in debug mode when scripts are tampered with
  • Fix for Hello Dolly being installed into a folder
  • POT 編集モードでの翻訳列の削除
  • Added setting to prevent ‘translating’ of POT files
  • Enabled some linkable translations using wp_kses
  • Bumped WordPress version to 5.4.1


  • Fixed fatal error when class not found


  • ログイン/メールをデフォルトの Last-Translator クレジットから削除
  • Bumped WP compatibility to 5.4
  • Fixed PHP 7.4 deprecations


  • Default POT getter now looks in “lang” directory
  • Not calling deprecated magic quotes functions under PHP 7.4
  • Fixed issue with conflicting page hooks
  • Ajax file uploads now enabled by default
  • Removed legacy option migrations from 1.x branch
  • Bumped WP compatibility to 5.2.4


  • Added experimental support for multipart uploads
  • Added relocation tab for moving translation sets
  • Creation of missing directories when writing new files
  • Fixed duplicate file addition when iterating over symlink
  • Bumped WP compatibility to 5.2.1


  • 機密ファイルを読み取るためのセキュリティ修正
  • Fixed old PHP version error in data files
  • Bumped WP compatibility to 5.1.1


  • Fixed bug where plural tabs not displaying RTL
  • PO パーサの改良点が強化され、文字セット処理が改善される
  • Excluding node_modules and vendor directories by default
  • Transients now have maximum lifespan of 10 days, refreshed after 24h
  • テーマ外で検出されたフォローされているテーマパスのシンボリックリンクの修正
  • Deprecated config repository lookup
  • Bumped WP compatibility to 5.1


  • Fix for empty language code when getting plural rules
  • Added X-Loco-Version header to generated Gettext files
  • Added sanity check for mbstring.func_overload madness
  • Added “Assign template” link on missing template page
  • Added JavaScript string extraction (experimental)
  • Editor supports sprintf-js when javascript-format tag present
  • Fix for duplicate comments when end punctuation differs
  • Marking msgctxt more clearly in editor views
  • Added loco_admin_shutdown action hook
  • Bumped WP compatibility to 5.0 (beta)


  • 更新されたロケール データ
  • Minor fix to file reference resolution
  • Fixed windows paths with trailing backslash
  • Fixed ssh-keys toggling issue
  • Rejigged buffer handling during Ajax
  • Bumped WP compatibility to 4.9.8


  • Bumped WP compatibility to 4.9.6
  • Hooked in privacy policy suggestion


  • Added loco_locale_name filter and updated locale data
  • Fixed editor column sorting to update as values change
  • エディタープレビュー行で RTL テキストをサポート
  • Minor refactor of debug mode routing check
  • Minor PO parser improvements
  • Bumped WP compatibility to 4.9.5


  • Fixed undeclared property in admin hook
  • Fixed incompatibility with older WordPress
  • Fixed incorrect millisecond reporting in footer
  • en_US ロケールのロケール進行状況列を削除
  • デバッグとエラーログの調整


  • Setting Project-Id-Version on new POT files
  • Added source view to quick links in file tables
  • WordPress スタイルのロケールコードのみをサポート
  • Editor screen tolerates missing PO headers
  • Ajax debugging improvements for issue reporting
  • Added loco_parse_locale action callback


  • Add fs_protect setting to avoid overwriting system files
  • Fixed bug in connect dialogue where errors not redisplayed
  • Minor improvements to inline notices
  • Removed downgrade notice under version tab
  • Fixed extraction bug where file header confused with comment
  • PHP と JS ユーティリティ間のいくつかの不整合を解決
  • Added Restore tab with diff display
  • Added loco_settings hook
  • Prevented editor from changing PO document order
  • Added default string sorting to extracted strings
  • Added “Languages” section for grouping files by locale
  • Fixed bug where translations loaded before user profile language set
  • Added loco_locale_plurals filter for customising plural rules
  • Allowing PO files to enforce their own Plural-Forms rules
  • Added loco_allow_remote filter for debugging remote problems
  • Unicode CLDR から更新された複数形
  • PHP extractor avoids repeated comments
  • Bumped WP compatibility to 4.9.4


  • 「インストール済み」ドロップダウンに表示される非公式言語
  • Fixed extraction bug where comment confused with file header
  • Fixed issue where src attributes requested from server during HTML strip
  • Added loco_admin_init hook into ajax router for consistency
  • Added warning on file info page when file is managed by WordPress
  • Minor help link and layout tweaks
  • Bumped WP compatibility to 4.9.1


  • File writer observes wp_is_file_mod_allowed
  • Fixed progress bug in editor for locales with nplurals=1
  • Made plural form categories translatable for editor UI
  • Sync-from-source は、ファイルがスキップされたときに警告を発生
  • Added hack for extracting from .twig as per .php
  • Added warning when child themes declare parent text domain
  • PO ラインの折り返しを制御するオプションを追加
  • Bumped WP compatibility to 4.8.2


  • Permanently removed legacy version 1.x
  • Fixed bug where editor code view was not redrawn on resize
  • Fixed bug where fuzzy flag caused format flag to be ignored
  • Fixed bug where autoloader responded to very long class names
  • Purging WP object cache when active plugin list changes
  • Added experimental source word count into POT info tab
  • Bumped WP compatibility to 4.8.1


  • Editor improvements inc. column sorting
  • Added warnings that legacy version will be removed
  • Added PO source view text filtering
  • Added _fs_nonce for 4.7.5 compatibility
  • Migrated to canonical text domain
  • wp クラスの自動ロードを削除


  • CSS conflict fixes
  • UTF-8 バイトオーダーマークのオプションを追加
  • Printf highlighting observes no-php-format flag
  • Fixed issue with translator role losing “read” permission


  • Minor fix for root path configs
  • Added alternative PHP extensions setting
  • Bumped WP version to 4.7.3
  • LoadHelper fix for core files
  • Allow revoking of permissions from translator role
  • Allow network admins to deny access to site admins


  • Extra debug logging and error diagnostics
  • Forcefully clear output buffers before Ajax flush
  • Bumped WordPress version to 4.7
  • Experimental wildcard text domain support


  • Allows missing domain argument in plugin_locale filter
  • 読み取り専用テキストを無効にしたエディタの変更を元に戻す
  • Added invisibles and coding editor switches
  • Added table filtering via text query
  • Added Last-Translator user preference


  • Bumped minimum WordPress version to 4.1
  • Some optimisation of transient caching
  • Fixed hash table settings bug


  • 不明なサブセット内のファイルのソース参照を修正
  • Downgrades PO formatting exceptions to PHP warnings
  • PHP 7 の警告を避けるために関数のプレフィックスを変更
  • Better support for php-format and no-php-format flag
  • PO source and editor UI tweaks
  • Localised strings and implemented in js


  • Fixed prototype.js conflict
  • More Windows file path fixes
  • Added loco_current_translator filter
  • Fixed false positive in extra files test


  • PO wrapping bugfix
  • Downgraded source code bugfix
  • ヘッダーレス POT ファイルへの対応
  • Core bundle metadata tweaks


  • Deferred missing tokenizer warning
  • Allows editing of files in unconfigured sets
  • 文字列抽出用の PHP ファイルの最大サイズを追加
  • Display of PHP fatal errors during Ajax


  • Reduced session failures to debug notices
  • Added wp_roles support for WP < 4.3
  • Fixed domain listener bugs


  • Added support for Windows servers
  • Removed incomplete config warning on bundle overview


  • Fixed bug when absolute path used to get plugins
  • Added loco_plugins_data filter
  • Added theme Template Name header extraction
  • Minor copy amends


  • Added help link in settings page
  • Fixed opendir warnings in legacy code
  • Catching session errors during init
  • プラグインが見つからない場合のメタ行リンクの削除


  • First release of completely rebuilt version 2