Description
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.
Installation
- Upload the plugin folder to
/wp-content/plugins/. - Activate it from the Plugins screen.
- Click “Inpage Translate” in the admin bar, open a page, and click a marked text.
FAQ
What are the PRO tags?
Inpage Translate Pro is a separate add-on plugin. While it is not active, a small “PRO” tag marks the places where it adds something. The tags only describe the feature and link to the website. This plugin contains no Pro code, and it works completely without it.
How do I translate a WordPress plugin?
Install and activate Inpage Translate, click “Inpage Translate” in the admin bar, open the screen of the plugin you want to translate, and click a marked text. Choose the language, type the translation or click Generate, and save. You do not need to edit any .po file.
How do I translate a WordPress theme?
The same way: open a page that shows the theme’s text (in the admin or on the site), turn on translate mode from the admin bar and click the text. The Overview screen also lists every theme that has a text domain, with how far each language is.
Do I need to edit .po or .mo files?
No. Translations are saved in your database. If you do want files, Import / Export reads and writes PO, MO, CSV and JSON.
Is Inpage Translate free?
Yes. All the features described on this page are free and nothing is locked. An optional paid add-on, Inpage Translate Pro, adds glossary, translation memory, a background queue, language files and team features. See https://inpagetranslate.com/
What does Inpage Translate Pro add?
Pro is a separate add-on for larger sites and teams: a glossary, translation memory, a background translation queue, language files, a review workflow with assignments, translated site content under language addresses, WP-CLI commands and more. The free plugin does not depend on it. Details: https://inpagetranslate.com/
Can I translate my posts, pages and menus too?
Inpage Translate is built for the text of plugins, themes and WordPress itself. To show your site content (posts, pages, menus, widgets) in more languages under addresses such as /bn/about/, use Inpage Translate Pro.
Which machine translation services does it support?
DeepL, Google Cloud Translation and Microsoft Translator with your own API key, and the free MyMemory service without a key. Text is sent only after an administrator agrees to it. See “External services” for what each service receives.
Where is the documentation?
On https://inpagetranslate.com/docs: a quick start, and short guides for translating, machine translation, import and export, roles, history and troubleshooting.
Can I use it with Loco Translate?
Yes. WordPress loads the language files first; Inpage Translate then replaces the texts you have translated.
Which texts are marked in translate mode?
Every text that WordPress produces through its translation functions, in the admin and on the front end. Click any marked text to translate it.
Does it work with a page cache or a CDN?
Yes. Without the language switcher every visitor sees the same translated site, so nothing needs configuring. With the switcher, a visitor’s chosen language is remembered in a cookie named inpage_translate_view; set your cache to vary on that cookie, or link to an address with ?it_lang= (most caches treat each query string as its own page).
Which languages can I translate into?
More than seventy, from Arabic to Vietnamese; the list is under Inpage Translate > Settings. Right-to-left languages (Arabic, Hebrew, Persian, Urdu, Pashto) set the page direction when a visitor views the site in that language.
Can I use the keyboard?
Yes. In translate mode every marked text can be reached with the Tab key and opened with Enter or Space; the editor is a dialog, Escape closes it and returns to the text, and the All strings list works the same way.
What happens on a very busy screen?
Up to 20,000 different texts are recorded on one page, which is more than any screen of the plugins we tested uses. Recording only happens in translate mode, so normal requests are not slowed down.
Who can approve a translation?
Administrators, and the roles ticked under Settings > Who can approve. A translation saved by anyone else is marked “Needs review” and stays on the review list until an approver approves it on the Translations screen. Texts marked “needs review” are still used on the site while they wait.
Are my translations removed when I delete the plugin?
Yes. Deleting the plugin removes its tables and settings. Export your translations first if you want to keep them.
Changelog
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.
