Descripción
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.
Capturas
Instalación
-
Upload via WordPress Dashboard:
– In your WordPress dashboard, go to ‘Plugins’ ‘Add New’.
– Search for «quick translate pot/po/mo» and click ‘Install Now’.
– Click ‘Activate’ once the installation is complete.
– Go to the «Tools» -> «Quick Translation Tool (POT/PO/MO)» page to access the features. -
Manual Installation via FTP:
– Download the plugin’s zip file and extract it.
– Connect to your server via FTP and navigate to the «wp-content/plugins/» directory.
– Upload the extracted «quick-translate-pot-po-mo» folder to this directory.
– Go to ‘Plugins’ in your WordPress dashboard and activate the plugin.
– Go to the «Tools» -> «Quick Translation Tool (POT/PO/MO)» page to access the features.
Preguntas frecuentes
- What is this plugin?
This is a tool that allows you to easily create and edit WordPress plugin translation files (POT, PO, and MO) directly in your browser.
You can complete all translation tasks without needing to use FTP software or specialized translation tools. -
What are POT, PO, and MO files?
POT (Portable Object Template): This is a template file that contains all the source strings to be translated.
PO (Portable Object): This is the file you use for translation. You write your translated strings here.
MO (Machine Object): This is the binary file that WordPress actually uses to display the translated strings on your site.
It is compiled from the PO file. -
Is the MO file generated automatically?
Yes, the MO file is automatically generated when you save the PO file. - Can I undo a mistake in my translation?
You can revert to the original state by reloading the page before saving your changes.
However, once a change is saved, you will need to manually edit the file to correct it. - Where are the translation files saved?
The generated and edited files are saved in your plugin’s languages folder, in the format [textdomain]-[locale].po and [textdomain]-[locale].mo.
Reseñas
No hay reseñas para este plugin.
Colaboradores y desarrolladores
«Quick Translate POT/PO/MO» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «Quick Translate POT/PO/MO» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
2.1.1
- Fixed bugs related to special characters.
- Made minor fixes.
2.1.0
- Added support for plural forms in translations.
- Made minor fixes.
2.0.0
- Added the auto translatable tool using Google API or DeepL API.
- Made minor fixes.
1.1.1
- Fixed bugs related to special characters.
1.1.0
- Moved JS and CSS into external files.
- Added the ability to download MO files.
- Made minor fixes.
1.0.0
- Initial release.
- Added core functionality for generating POT/PO/MO files and editing PO files.
- The code has been optimized and internationalization support has been added.



