Most results for this search are about translating your posts and pages into several languages. This guide covers the theme's own texts; content needs a multilingual plugin, as the last question explains.
Translating a theme means translating its strings: the labels, buttons and messages written into its code, such as "Read more", "Search results for" or "Leave a comment". Your own texts, such as the site title, menu items and anything typed in the Customizer, are content, and they are changed where you typed them. Knowing which is which saves most of the frustration.
Two kinds of text in a theme
| Text | Example | How to change it |
|---|---|---|
| Theme strings | Read more, Posted on, Search | Translate them (this guide) |
| Customizer and widget text | Footer text, a hero heading | Edit it in the Customizer or widget |
| Menus, pages, posts | Home, About us | Edit the content, or use a multilingual plugin |
| Block theme templates you edited | Text in a header you changed in the Site Editor | Edit it in the Site Editor |
Only the first row comes from a translation file. If a text still shows the old wording after you translated everything, it almost always belongs to one of the other rows.
Check that your theme is translation-ready
A translation-ready theme wraps its texts in WordPress translation functions and ships a template of them. Three quick checks:
- The theme header names a text domain. Open Appearance, Theme File Editor,
style.css, and look for aText Domain:line. - Its texts are wrapped in translation functions such as
__()and_e(). A.potfile in alanguagesfolder is a good sign, but many WordPress.org themes, including the default block themes, ship without one and rely on community translations, so a missing.potis normal. - On WordPress.org, the theme directory's feature filter includes Translation Ready.
If a theme has none of these, its texts may be typed straight into the templates. Ask the author before you spend time on it, because no translation tool can change hard-coded text without editing the files.
Start with the site language
Set Settings, General, Site Language to your language first, then open Dashboard, Updates and click Update Translations. For themes from WordPress.org, WordPress downloads the community translation if one exists for your language, and many popular themes are already fully translated. You may only need to fix a few strings afterwards.
Method 1: Translate every string with Loco Translate
Loco Translate translates the theme's .pot file into a .po file inside wp-admin. It suits translating every string of a theme at once.
- 1Install and activate Loco Translate.
- 2Go to Loco Translate, Themes
and choose your theme. Existing languages are listed.
- 3Click New language,
pick the language and keep the Custom location, so theme updates cannot overwrite it. In Loco Translate 2.8.10 it is selected by default.

- 1Translate the strings
in the editor, using the search box to find specific texts.
- 2Click Save.
Loco Translate writes the
.pofile and compiles the.mofile WordPress reads.
If a saved translation never appears, work through why WordPress translations do not show. Translate the parent theme, not the child theme, when the strings come from the parent. Strings keep the text domain of the theme that prints them.
Method 2: Translate it on your computer with Poedit
Poedit, a free desktop editor, works on the same files from your computer, much like when you edit a .po file in WordPress for a plugin. Open the theme's .pot file, choose Create New Translation, pick the language, translate, and save as textdomain-locale.po (for example astra-fr_FR.po). Poedit compiles the .mo file next to it. Upload both to wp-content/languages/themes/, where a community translation update can replace them, or keep a copy so you can upload them again.
Method 3: Fix the strings you see, on the page
Inpage Translate, a free plugin we make, translates theme, plugin and WordPress texts on the page where they appear. It is the quickest way to change the strings you actually see, because themes show their strings across many templates (archives, single posts, search results, 404 pages) and you can see each one in place.
- 1Install and activate Inpage Translate
from Plugins, Add New Plugin.
- 2Open a page of your site
while signed in, for example a blog post.
- 3Click Inpage Translate in the toolbar.
Every translatable text gets a dashed outline. Texts without an outline are content, not theme strings.
- 4Click a text, choose the language under Translate into, type the translation and click Save.
The editor shows the text domain, so you can see whether a string belongs to the theme or to a plugin.
- 5Visit the other templates:
an archive, the search results, a 404 page and the comment form. Each shows strings the others do not.
The Translations screen then lists everything you translated, grouped as WordPress, plugins and themes, with the theme's name beside each of its texts.

Translations are stored in the database, so a theme update does not remove them. If you also need the result as a file, export it as a .po or .mo file for the theme's text domain.
What is different with block themes
Block themes, the kind edited in the Site Editor, keep much of their visible text in templates and patterns rather than in PHP files.
- Text in patterns that the theme registers in PHP is usually wrapped in translation functions, so it translates like any other string.
- Text you change in the Site Editor is saved in the database as your own template. From that moment it is content, not a theme string, and a translation file no longer reaches it.
- Text written into a block theme's `.html` templates is not translatable at all. Those files are plain markup, so a word typed there is shown as is. Well-made block themes put visible text in PHP patterns for this reason; if yours does not, the template has to be edited.
If a header or footer text in a block theme refuses to translate, check whether someone edited that template part in the Site Editor. Resetting the template part brings back the theme's version, with its translatable strings.
When the theme still shows the old language
- Texts typed in the Customizer or widgets never come from the theme's file. Change them where you typed them.
- A string disappeared after a theme update. The file was saved in the theme's own folder. Use Loco's Custom location or database-stored translations.
- Only some templates are translated. Each template uses its own strings. Visit the search, archive and 404 pages and translate what they show.
- The strings belong to a plugin. Page builders and WooCommerce print their own texts inside the theme's layout. The text domain in the editor tells you which.
Theme translation questions
How do I change the language of my WordPress theme?
Change Settings, General, Site Language. If the theme has a translation for that language, WordPress loads it. If it does not, translate the strings with one of the methods above.
Can I translate a WordPress theme for free?
Yes. Inpage Translate, Loco Translate and Poedit all have free versions that translate theme strings.
Will a theme update delete my translation?
Files saved inside the theme's folder are deleted by a theme update. Files in wp-content/languages/themes/ survive theme updates but can be replaced when WordPress downloads a newer community translation. Loco's custom folder and translations stored in the database survive both.
How do I translate a theme into several languages at once?
Translate its strings into each language, then add a multilingual plugin, such as Polylang or WPML, to switch between languages and translate your content.
Did it work for you? An honest review on WordPress.org helps other people find the plugin.



