[WordPress] 外掛分享: Quick Translate POT/PO/MO

WordPress 外掛 Quick Translate POT/PO/MO 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Quick Translate POT/PO/MO」是 2025-10-02 上架。
  • 目前有 20 個安裝啟用數。
  • 上一次更新是 2026-01-23,距離現在已有 34 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

kasuga16 |

外掛標籤

po | i18n | tool | editor | translation |

內容簡介

```html
<!DOCTYPE html>
<html>
<head>
<title>Quick Translate POT/PO/MO Plugin Manual</title>
</head>
<body>

<h3>摘要:</h3>
<p>「Quick Translate POT/PO/MO」是一個可檢查和修改WordPress外掛程式翻譯檔案的工具。使用這個工具可以即時看到變更的效果,並直接在瀏覽器中完成以下任務:</p>
<ul>
<li>產生POT檔案(翻譯模板)</li>
<li>產生和更新PO檔案(翻譯檔案)</li>
<li>編輯PO檔案</li>
<li>產生MO檔案(二進制檔案)</li>
<li>下載POT、PO和MO檔案</li>
<li>刪除MO檔案</li>
</ul>

<h3>問題與答案:</h3>
<ol>
<li>
<strong>如何產生POT檔案?</strong>
<ul>
<li>前往「1. 產生POT檔案」區段。</li>
<li>從「目標外掛程式」下拉選單中選擇所需的外掛程式。</li>
<li>點擊「產生POT」按鈕。</li>
<li>如果POT檔案已經存在,將出現確認彈出窗口。</li>
<li>這將在外掛程式的語言目錄中創建一個[text-domain].pot檔案。</li>
</ul>
</li>
<br>
<li>
<strong>如何產生和更新PO檔案?</strong>
<ul>
<li>前往「2. 從POT檔案產生/更新PO檔案」區段。</li>
<li>從「目標外掛程式」下拉選單中選擇目標外掛程式。</li>
<li>點擊「產生/更新PO」按鈕。</li>
<li>將根據您的WordPress語言設定生成一個PO檔案(例如ja.po)。</li>
<li>如果PO檔案已經存在,原始POT檔案中的現有翻譯(msgstr)將在更新的PO檔案中被保留。</li>
</ul>
</li>
<br>
<li>
<strong>如何編輯PO檔案和產生MO檔案?</strong>
<ul>
<li>前往「3. 編輯PO檔案及產生MO檔案」區段。</li>
<li>從「選取外掛程式」下拉選單中選擇外掛程式。</li>
<li>點擊「載入PO」以在表格中顯示PO檔案內容。</li>
<li>直接在「msgstr」欄中編輯翻譯。</li>
<li>點擊「儲存更改並產生MO」以保存更改並建立MO檔案。</li>
<li>只有當您點擊「儲存更改並產生MO」按鈕時,編輯器中的更改才會同時保存到PO檔案,並且MO檔案會被生成。</li>
</ul>
</li>
</ol>

</body>
</html>
```

原文外掛簡介

Quick Translate POT/PO/MO Plugin Manual
1. Introduction
“Quick Translate POT/PO/MO” is a tool for generating and modifying WordPress plugin translation files.
It allows you to instantly see the effects of your changes and complete the following tasks directly in your browser.

Generate POT files (Translation Template): Extract translatable strings from a plugin’s source code to create a template file.
Generate and Update PO files (Translation File): Create a new PO file for a specific language based on a POT file, or update an existing one.
Edit PO Files: Directly edit translation strings in an existing PO file.
Generate MO Files (Binary File): Automatically create the binary MO file that WordPress uses when you save your PO file edits.
PO File Automatic Translation Tool: It automatically translates the untranslated parts of a PO file using Google Translation or DeepL.
Download POT, PO, and MO Files: Download each POT, PO, and MO file to your local directory.
Delete MO Files: Remove unnecessary MO files.

2. How to Use
Step 1: Generating a POT File

Go to the “1. Generate POT file” section.
Select the target plugin from the “Select a Plugin” dropdown.
Click the “Generate POT” button.
If a POT file already exists, a confirmation pop-up will appear.

➡ This will create a [text-domain].pot file in the plugin’s languages directory.
Step 2: Generating and Updating a PO File

Go to the “2. Generate / Update PO file from POT” section.
Select the target plugin from the “Select a Plugin” dropdown.
Click the “Generate / Update PO” button.

➡ This will generate a PO file (e.g., ja.po) based on your WordPress language settings.
➡ If the PO file already exists, the existing translations (msgstr) corresponding to the strings (msgid) in the POT file will be preserved in the updated PO file.
Step 3: Editing a PO File and Generating an MO File

Go to the “3. Edit PO file & Generate MO file” section.
Select the target plugin from the “Select a Plugin” dropdown.
Click “Load PO” to display the PO file contents in a table.
Edit translations directly in the “msgstr” column.
Click “Save Changes and Generate MO” to save changes and create the MO file.

➡ Changes in the editor are saved to the PO file and the MO file is generated simultaneously only when you click the “Save Changes and Generate MO” button.
For more effective translation work:
Step 2.5: Automatically Translate a PO File

Click the “Go to PO Auto Fill Tool” button.
Select the target plugin from the “Select a Plugin” dropdown.
Choose either Google API or DeepL API.
Enter the corresponding API key.
Click the “Preview Translation” button.
Click the “Save” button to save the results to the PO file.
Click the “Back to Quick Translate POT/PO/MO” button to edit the saved PO file.

➡ To use this tool for automatic translation, you need to register with Google Translation or DeepL and obtain an API key. Both services can be used within their free usage limits.
Table Operations

msgid (Source String): Original string (not editable).
msgstr (Translation): Editable translation string.

Download A POT File

Click the “Download POT” button to download the current POT file.

Download A PO File

Click the “Download PO” button to download the current PO file.

Download A MO File

Click the “Download MO” button to download the current MO file.

Deleting an MO File

Click the “Delete MO” button to remove the current MO file.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Quick Translate POT/PO/MO」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1.0 | 1.1.1 | 2.0.0 | 2.1.0 | 2.1.1 | 2.1.2 | trunk |

延伸相關外掛(你可能也想知道)

  • WP Multibyte Patch 》WordPress日本語版的多位元組功能增強。, 點此閱讀日語說明。
  • Loco Translate 》Loco Translate 提供在瀏覽器中編輯 WordPress 翻譯文件和與自動翻譯服務集成的功能。, 它還為開發人員提供 Gettext/本地化工具,例如提取字符串和生成模板。...。
  • Performant Translations 》- 本專案使用了一種新的方法來處理 WordPress 的翻譯檔案,大幅提升本地化速度。, - 深入的 i18n 效能分析顯示,經過本地化處理的 WordPress 網站載入速度顯...。
  • WPBakery Visual Composer & qTranslate-X 》這個外掛可以讓 qTranslate-X 多語言工具運作於 WPBakery Visual Composer 外掛程式中。, 需要 qTranslate-X 版本 3.3 或者 alpha 預發行版 以上版本。, 這個...。
  • Admin Language Per User 》這個插件讓你的後台管理面板可以以英文或任何已安裝的語言顯示,即使你的網站翻譯為其他語言。語言偏好設置可以基於使用者個人設定設定。, 在多站點上已進行...。
  • WPML Multilingual for BuddyPress and BuddyBoss 》這個外掛可使用WPML建置多國語言的 BuddyPress 和 BuddyBoss 網站,可適用於單網站或多網站安裝。主網站和子部落格皆可運行多國語言。, 客戶部落格可選擇語言...。
  • WordPress Language 》開發結束:從版本1.2.1開始,我們不再繼續開發此外掛程式。這並不意味著它已經無法使用。新的WordPress開發覆蓋了此外掛中的大部分功能。然而,為了建立和運...。
  • WPGlobus for WPBakery Visual Composer 》WPGlobus for WPBakery Visual Composer 是 WPGlobus 外掛的擴充功能。, , 注意:在安裝 WPGlobus for WPBakery Visual Composer 擴充功能之前,您必須先安裝...。
  • Preferred Languages 》多虧了語言包,現在更容易更改您的網站主語言。然而,在某些情況下,單一語言環境是不夠的。當 WordPress 找不到活動語言環境的翻譯時,它會回退到原始的英語...。
  • Disable Login Language Switcher 》此外掛可幫助您清理 WordPress 登入介面,並移除在 WordPress 5.9 版本中加入的語言切換器,使介面更加簡潔。, 如果您只安裝了一種語言,而不打算更改回英文...。
  • Remove "Comments are closed" 》當文章的評論被關閉時,該外掛可以移除"評論已關閉"的字樣。該外掛支援任何語言/文本域,並可以移除來自佈景主題和外掛的文字。, 前置需求:由於該外掛正在過...。
  • Admin in English 》有時候我們希望讓博客的前端對使用者進行翻譯,但是保持後台管理面板的英文狀態。Admin in English 外掛正是為此而設計。。
  • qTranslate X Cleanup and WPML Import 》這款外掛可以清理您網站上的 qTranslate X meta-HTML 標籤,只留下一種‘乾淨’的語言,或將所有語言轉換為 WPML 的格式。, 非常重要:這款外掛將修改您數據庫...。
  • WPGlobus Featured Images 》WPGlobus Featured Images 是 WPGlobus 外掛的擴充功能,可以讓您為每種語言設定單獨的特色圖像。, , 注意:在安裝 WPGlobus Featured Images 擴充功能之前,...。
  • Transliterado 》這個外掛可以更好地轉譯網址中的非 ASCII 字符。目前支援的語言包括世界語、瑞典語、芬蘭語、丹麥語、挪威語、德語、俄語和保加利亞語。它還可以處理破折號。...。

文章
Filter
Apply Filters
Mastodon