Inpage Translate
Translate WordPress plugin and theme text in context—no.po files.
Install in
Translate any WordPress plugin or theme right on the page, with no .po files to edit. Click a text, type the translation or let DeepL, Google Cloud Translation or Microsoft Translator suggest one, and save. Every text keeps its own language, and every change keeps its history.
Inpage Translate is a free WordPress translation plugin for plugin and theme text: the buttons, labels, messages and settings that come from translation functions such as __(). Use it to translate a plugin, translate a theme, fix a wrong word in your own language, or review a translator’s work, all from the page where the text appears.
Website and documentation: https://inpagetranslate.com/ and https://inpagetranslate.com/docs
How it works
Inpage Translate adds a “Inpage Translate” item to the WordPress admin bar. Click it on any admin or front-end page and every translatable text on that page is marked. Click a marked text to open a small editor, choose the language for that text, type a translation or click Generate for a machine translation, and save it. Translations are stored in your database per language and survive plugin updates.
Who it is for
- Site owners who want a plugin or theme in their own language, or want to change a word in it, without learning gettext,
.poor.mofiles. - Agencies and freelancers who deliver client sites in more than one language and need to review and approve translations.
- Translators and reviewers who prefer to see a text in its real place on the screen.
- Plugin and theme authors who want to check how their texts read in another language.
Every text keeps its own language
One page can show some texts in Bengali and others in Hindi while you work, and after you leave translate mode. Each text is shown in the language it was last translated into. Visitors see the site that way by default; they can also pick one language with the [inpage_translate_switcher] shortcode, or by adding ?it_lang=fr_FR to an address (?it_lang=all returns to the mixed view).
The Inpage Translate menu
- Translations: every translation, grouped as WordPress, Plugins and Themes, with the name of the plugin or theme beside each text. Filters for source, language, status and a search word. Add and edit in a dialog without leaving the list, and use bulk actions (approve, mark as needing review, export, delete).
- Overview: the plugins and themes that have a text domain, a scanner that reads their PHP files to list every text they can translate, and how far each language is (for example “412 of 1466 (28%)”). “Translate missing” machine-translates the texts that have no translation yet, a few at a time, and keeps them as “needs review”.
- History: every change keeps the earlier text, so a mistake can be undone with one click.
- Import / Export: PO, MO, CSV and JSON files. Export a PO or MO file for one text domain and language; import PO, CSV or JSON files.
- Settings: who can translate, who can approve, the languages offered to visitors (with the shortcode to copy), and the keys of the translation services.
- System: versions, a few health checks, and a tool that shows what one text turns into: every saved translation, what visitors get and what WordPress returns without this plugin.
Safe by design
- A translation with more placeholders (
%s,%d) than the original text is refused, because it would cause an error on the site. A missing placeholder or changed HTML tag is saved with a warning. - Machine translations are kept as “needs review” until someone edits or approves them.
- Administrators can always translate. Other roles can be allowed under Settings; they can translate and use the History screen, while settings, keys, import and export, scanning and bulk translation stay with administrators.
When the toolbar is hidden
Administrators see a floating “Inpage Translate” button when the admin toolbar is not shown. Adding ?it_translate=1 to any address also starts translate mode.
Translate mode
While translate mode is on, each translated text carries an invisible marker so the exact string behind it can be found. Leave the mode with the Exit button; normal visitors never get markers.
What you can translate
Every text in WordPress, your plugins and your themes that goes through the WordPress translation functions (__(), _x(), _n() and their wp.i18n equivalents in JavaScript). The scanner reads the PHP files of each plugin and theme and lists the texts it finds, and texts that come from JavaScript are added to the Overview as soon as you open a page in translate mode.
Third-party material
The interface uses the Barlow typeface, bundled in assets/fonts/ (SIL Open Font License 1.1, see assets/fonts/OFL.txt). It is loaded from this plugin and never from another site.
Inpage Translate Pro
Inpage Translate is complete on its own: everything described above is free, nothing in this plugin is locked or limited by a trial, and it never asks you to pay to keep working. Inpage Translate Pro is a separate paid add-on for bigger sites and teams that want to save time. It works on top of this plugin and needs it to be installed and active.
Pro adds, among other things:
- Glossary. Terms that must always be translated one way, or never translated, kept when machine translation runs and checked when a translation is saved.
- Translation memory. An approved translation is reused when the same text comes up again in another plugin or theme.
- Background translation queue. Translate every missing text of a plugin or theme in the background, with pause, resume and retry.
- Language files. Write real
.po,.moand.jsonfiles towp-content/languages, so the site shows your translations without the database lookup. - Review workflow for teams. Draft, reviewed, approved and locked states, translator assignments, comments and an activity log.
- Site content in more languages. Show posts, pages and menus under language addresses such as
/bn/about/, with hreflang tags and a language switcher. - WP-CLI commands, scheduled backups, larger imports, multisite sync and white label.
See the full list, plans and documentation at inpagetranslate.com. Pro is optional: the free plugin keeps working without it.
External services
Machine translation is optional and sends text only after an administrator agrees to it (a confirmation appears the first time Generate or “Translate missing” is used, and the choice can be changed under Inpage Translate > Settings). Only the text being translated is sent, and no other data. Services are tried in this order (the first that answers is used):
- Google Cloud Translation, only if you enter your own API key in the settings. Sends to translation.googleapis.com. Terms and Privacy Policy.
- DeepL, only if you enter your own API key. Sends to api-free.deepl.com or api.deepl.com. Terms and Privacy Policy.
- Microsoft Translator, only if you enter your own key. Sends to api.cognitive.microsofttranslator.com. Terms and Privacy Policy.
- MyMemory (free, no key). Sends to api.mymemory.translated.net. Terms and Privacy Policy.
Written by Joobi from the project's own listing. See the source page
1.1.1
- Reworked the plugin page: clearer description, a demo video, new tags and six new screenshots with captions.
1.1.0
A new admin layout
- A top bar on every Inpage Translate screen: the brand on the left, the screens on the right. It stays in place while the page scrolls.
- Screens are grouped. A group with one screen is a link; a group with several opens a drop-down. The second row of tabs is gone.
- Pages use the full width up to 1440px, with the content centred on wide screens.
- Settings is split into General, Access, Languages and Translation services, in a menu on the left. One Save button saves every tab, a dot marks a tab with unsaved changes, and the same tab opens again after saving.
- Notices are shown as solid bars that line up with the page.
- The keyboard focus ring shows only when you use the keyboard, not on mouse clicks.
- The logo letters are now “IT”.
Prefix change: lt_ is now it_
- Address parameters are renamed: use
?it_lang=and?it_translate=1instead of?lt_lang=and?lt_translate=1. Old links withlt_are no longer recognised. - CSS classes, data attributes and JavaScript names use the
it-/it_prefix. Update any custom CSS that targets the oldlt-classes.
For add-on developers
- New filter
inpage_translate_admin_groupsto add or change the groups in the top bar. - New filter
inpage_translate_settings_tabsand actioninpage_translate_settings_tab_{slug}to add a Settings tab with its own form. - New filter
inpage_translate_can_saveandlast_error(), so an add-on can refuse a change and say why. - New actions
inpage_translate_savedandinpage_translate_status_changed, filterinpage_translate_pre_translate, andmax_request_length(). - New
Catalog::remove()andHistory::purge_older_than(). Inpage_Translate_Admin::url()accepts_fragmentto link to a Settings tab.- Small “PRO” tags mark where the separate Inpage Translate Pro add-on adds features. This plugin contains no Pro code.
Under the hood
- Code is grouped into folders (core, database, features, integrations) and loaded by a class map autoloader.
- Each translation service and each database table has its own class.
- Updated translation template.
1.0.1
- Security: all request input (query string, form fields, cookies, uploads, request method) is now read through one class that unslashes, cleans and validates every value.
- Security: forms that change data now refuse requests that are not POST; REST text fields have length limits.
- Reject empty original text and texts over 10,000 characters when saving a translation.
- Import counts a row as refused when it cannot be saved.
- Updated translation template.
1.0.0
- Translate texts on any admin or front-end page, each text in its own language.
- Translations, Overview, History, Import / Export, Settings and System screens.
- Review workflow: only administrators and chosen roles can approve a translation.
- Translations grouped by WordPress, plugins and themes, with friendly names.
- Machine translation with Google Cloud Translation, DeepL, Microsoft Translator, and MyMemory.
- Source-code scanner and progress per language, with bulk “Translate missing”.
- Filters for add-ons:
inpage_translate_admin_tabs,inpage_translate_validation,inpage_translate_providers,inpage_translate_before_translate,inpage_translate_after_translate,inpage_translate_pre_translate,inpage_translate_saved,inpage_translate_status_changedandinpage_translate_can_save. - Placeholder checks, “needs review” status, history with restore.
- PO, MO, CSV and JSON import and export.
- Choose which roles can translate.
- More than seventy languages, right-to-left pages, keyboard access.
- A new interface: violet theme, drop-downs, checkmarks and switches, status badges, a tabbed admin.
1.1.0
A new admin layout
- A top bar on every Inpage Translate screen: the brand on the left, the screens on the right. It stays in place while the page scrolls.
- Screens are grouped. A group with one screen is a link; a group with several opens a drop-down. The second row of tabs is gone.
- Pages use the full width up to 1440px, with the content centred on wide screens.
- Settings is split into General, Access, Languages and Translation services, in a menu on the left. One Save button saves every tab, a dot marks a tab with unsaved changes, and the same tab opens again after saving.
- Notices are shown as solid bars that line up with the page.
- The keyboard focus ring shows only when you use the keyboard, not on mouse clicks.
- The logo letters are now “IT”.
Prefix change: lt_ is now it_
- Address parameters are renamed: use
?it_lang=and?it_translate=1instead of?lt_lang=and?lt_translate=1. Old links withlt_are no longer recognised. - CSS classes, data attributes and JavaScript names use the
it-/it_prefix. Update any custom CSS that targets the oldlt-classes.
For add-on developers
- New filter
inpage_translate_admin_groupsto add or change the groups in the top bar. - New filter
inpage_translate_settings_tabsand actioninpage_translate_settings_tab_{slug}to add a Settings tab with its own form. - New filter
inpage_translate_can_saveandlast_error(), so an add-on can refuse a change and say why. - New actions
inpage_translate_savedandinpage_translate_status_changed, filterinpage_translate_pre_translate, andmax_request_length(). - New
Catalog::remove()andHistory::purge_older_than(). Inpage_Translate_Admin::url()accepts_fragmentto link to a Settings tab.- Small “PRO” tags mark where the separate Inpage Translate Pro add-on adds features. This plugin contains no Pro code.
Under the hood
- Code is grouped into folders (core, database, features, integrations) and loaded by a class map autoloader.
- Each translation service and each database table has its own class.
- Updated translation template.
1.0.1
- Security: all request input (query string, form fields, cookies, uploads, request method) is now read through one class that unslashes, cleans and validates every value.
- Security: forms that change data now refuse requests that are not POST; REST text fields have length limits.
- Reject empty original text and texts over 10,000 characters when saving a translation.
- Import counts a row as refused when it cannot be saved.
- Updated translation template.
1.0.0
- Translate texts on any admin or front-end page, each text in its own language.
- Translations, Overview, History, Import / Export, Settings and System screens.
- Review workflow: only administrators and chosen roles can approve a translation.
- Translations grouped by WordPress, plugins and themes, with friendly names.
- Machine translation with Google Cloud Translation, DeepL, Microsoft Translator, and MyMemory.
- Source-code scanner and progress per language, with bulk “Translate missing”.
- Filters for add-ons:
inpage_translate_admin_tabs,inpage_translate_validation,inpage_translate_providers,inpage_translate_before_translate,inpage_translate_after_translate,inpage_translate_pre_translate,inpage_translate_saved,inpage_translate_status_changedandinpage_translate_can_save. - Placeholder checks, “needs review” status, history with restore.
- PO, MO, CSV and JSON import and export.
- Choose which roles can translate.
- More than seventy languages, right-to-left pages, keyboard access.
- A new interface: violet theme, drop-downs, checkmarks and switches, status badges, a tabbed admin.
Follow this listing's changes (Atom feed)