A browser extension to help you translate faster and better on translate.w.org
GPL-3.0 License
Adjust the Settings for this extension in the top blue navigation menu Tools Settings
Watch a demo video for Consistency Tool features.
Quick links: copy URL or open in new tab
Search a string in:
Suggestions directly from Consistency
Alt + C
to load them all. ⟵
next to the current translation of the string if availableGoogleTranslate button - Link or Alt + G to open in a new tab current translated string in current locale, if locale exists on GT. (missing locales in GT)
Non-translatable strings
Watch a demo video for Checks feature.
These checks run for all translated strings when page loads and when a translation is submitted. Checks can be set as: Warning & prevent save, Just notification or Don't check.
Notices and labels for checks results
Highlights double spaces and user defined "bad words" (eg. below: link)
To bypass warnings, click Save / Approve with warnings
Personalize checks as you see fit:
Prevent saving these words is a user defined list of words that if found in a translation will generate a warning. Separated by comma, no space, case insensitive.
TIP: Include a double space string
in this field to always prevent the saving of double spaces.
Count and match these is a user defined list of terms or symbols that will be counted both in original and in translation. If counts don't match, a warning will be generated. Separated by comma, no space, case insensitive.
Tag spaces checks will ensure that:
This is<strong>bold</strong>and nice.
This is <strong> bold </strong> and nice.
Filter strings based on warnings:
If your locale uses a different symbol other than .
for period, you can set it here. Additional specific locale checks can be added if requested in an issue.
Watch a demo video for History Tools feature.
These are opt-in tools, so go to Settings > History Tools and enable them if you want to use them.
I. History Compare compares the string with a corresponding string from History
String status | Compared with |
---|---|
Old | Current |
Rejected | Current |
Waiting | Current |
Fuzzy | Waiting |
It adds preview and editor label and a diff highlighter in editor.
II. History Count counts (regardless of string status) types of strings in History for the respective string; doesn't count itself. It also checks if there are multiple current translations for the same string and will show a visual status of this check: ❌ or ✔️.
III. History Tools in Translation History enables or disables these tools on History pages opened trough a link.
Watch a demo video for Bulk Consistency Tools feature.
This is an opt-in only for GTEs tool. Even if you activate it, it only fully works for GTEs.
Action | Shortcut | Alternative Shortcut for Mac |
---|---|---|
Fuzzy | Ctrl + * (numeric keyboard) Control + Shift + F | |
Save with warnings | Shift + Ctrl + Enter | |
Load all Consistency suggestions | Alt + C | control + C |
Copy consistency #3 | Alt + 3 | control + 3 |
Google Translate | Alt + G | control + G |
Focus on Search in Projects | Alt + S or Alt + P | control + S or control + P |
Insert all Non-translatables | Alt + N | control + N |
Note: Disable custom keyboard shortcuts if you use keyboard Alt + numbers
to insert special characters. WPGPT overrides that shortcut.
(The Tampermonkey user script version no longer get updates notifications and will not be maintained, so please use the official extension.)
WPGPT asumes by default that you use GlotDict as well and so it disables features that have been imported in GlotDict. If you don't use GlotDict, change this behaviour in Tools Settings. But take a look first at what GlotDict has for you! :)
Your settings are saved locally using LocalStorage so they will remain saved in that browser untill you clear your browser data. To backup and restore WPGPT settings:
Contributions are welcome, bugreports, suggestions and even pull requests! No limitations, shoot for the stars!