How to Translate a WordPress Theme with Loco Translate

You set WordPress to Spanish, French or Vietnamese, and most of the dashboard switched language, but your theme still says “Read more”, “Leave a comment” and “Search” in English. That is because WordPress language packs only cover WordPress itself and themes and plugins translated on WordPress.org. A premium theme, or a free theme without a complete translation, needs translating on your site.

Loco Translate is a free plugin that lets you do that from the dashboard. This guide walks through the whole process on a WordPress 7.1.3 test site, including two settings that decide whether your translations survive the next update.

What Loco Translate does, and what it doesn’t

Loco Translate translates strings in the theme’s code: button labels, headings in templates, “Posted by”, “Previous post”, form labels and messages that come from the theme or a plugin.

It doesn’t translate your content: pages, posts, menu items, widget text or layouts built with a page builder. You type that content yourself, so you write it in the language you want. If you need the same content in several languages, you need a multilingual plugin such as Polylang or TranslatePress instead (900,000+ and 400,000+ active installations respectively on WordPress.org, checked 20 October 2026).

Loco Translate itself is at version 2.8.9, with 1,000,000+ active installations.

Step 1: Set the site language

Go to Settings › General and choose your language under Site Language:

WordPress General Settings with the Site Language dropdown set to English (United States), highlighted
Settings › General › Site Language. Highlight added.

Save, then go to Dashboard › Updates and update translations. WordPress downloads available language packs for WordPress itself and for themes and plugins hosted on WordPress.org. Check the front end afterwards: if the theme is now fully translated, you don’t need Loco Translate at all.

Step 2: Install Loco Translate and open your theme

Install and activate Loco Translate from Plugins › Add Plugin. Then go to Loco Translate › Themes and click your theme. The overview shows the theme’s text domain and any existing translations:

Loco Translate theme overview for Twenty Twenty-Five with New language, Upload PO and Create template links and the message No translations found
Loco Translate 2.8.9 › Themes › Twenty Twenty-Five, before any translation exists.

If you use a child theme, translate the parent theme: that is where almost all the strings live. Translate the child theme only for strings you added to it yourself.

Step 3: Create a template if there isn’t one

A translation template (a .pot file) lists every translatable string in the theme. Many themes include one. If yours doesn’t, Loco Translate says so when you click New language:

Loco Translate warning Template missing, with links Create template, Skip template and About templates
If the theme ships no .pot file, Loco Translate offers to create one.

Choose Create template. Loco Translate scans the theme’s files and builds the list; on our test site it found 418 strings in Twenty Twenty-Five. You can also choose Skip template, but then you start without a complete list of strings.

Before buying a premium theme for a non-English site, it is worth asking the author whether the theme ships a .pot file and uses a consistent text domain. It makes translation much smoother.

Step 4: Choose the language and, crucially, the location

Click New language again. You will see two choices:

Loco Translate New language screen: 418 strings found, a WordPress language selector, and location options Custom, System and Author with Custom selected
Choose a language and a location. Custom keeps translations safe from theme updates.
  1. Choose a language: pick it from the WordPress language list.
  2. Choose a location: this decides where the translation files are saved.
Location Folder Survives theme updates?
Custom wp-content/languages/loco/themes/ Yes. Recommended.
System wp-content/languages/themes/ Usually, but WordPress’s own language pack updates can overwrite files here
Author Inside the theme folder No. Updating the theme replaces the folder

Choose Custom, which is also Loco Translate’s default. Saving translations inside the theme folder is the most common reason translations “disappear” after a theme update; our premium theme update guide explains why anything inside the theme folder is replaced.

Click Start translating.

Step 5: Translate the strings

The editor lists every string with its translation:

Loco Translate editor for twentytwentyfive-fr_FR.po with the string Page not found selected and the translation Page introuvable
Translating the 404 heading into French in the Loco Translate editor (test site).
  1. Use the filter box to find a string, for example “Page not found”.
  2. Click it and type the translation in the box at the bottom.
  3. Click Save.

When we saved on our test site, Loco Translate created three files in the Custom folder: the editable .po file, a compiled .mo file and a .l10n.php file, the format recent WordPress versions load fastest. You don’t have to manage these yourself.

Tips:

  • Context labels (such as “404 error message”) tell you where a string is used. Read them; the same English word may need different translations in different places.
  • Placeholders such as %s or %1$s must stay in the translation, because the theme replaces them with a name, date or number.
  • Plurals have separate fields for each plural form your language uses.
  • Start with what visitors see: buttons, navigation labels, form messages, “Read more”, 404 and search pages.

Step 6: Check the front end

Clear your caches and open the site. Check the homepage, a post, the 404 page, search results and any forms. If a string still shows in English:

  • It may be your content, not the theme. Headings and text you typed in pages or in the Site Editor are content; edit them directly.
  • It may come from a plugin. Translate it under Loco Translate › Plugins.
  • It may be hard-coded in the theme without translation functions. Report it to the theme author; a child theme can override the template as a workaround.
  • In block themes, text inside templates and patterns you have customized in the Site Editor is stored in the database as content, so edit it in the Site Editor rather than in Loco Translate.

After theme updates

When the theme updates, new strings may be added. Open your translation in Loco Translate and click Sync to pull in new strings from the template, then translate them. Because your files are in the Custom location, existing translations are kept.

Quick checklist

  • Site Language set and translation updates run first.
  • Loco Translate installed; parent theme selected.
  • Template created if the theme doesn’t ship one.
  • Translation saved in the Custom location.
  • Visitor-facing strings translated and checked on the front end.
  • Sync run after each theme update.
Need help?
Need a custom theme for your project?