Translates

How to say it in other languages, and what words mean

Spanish

Find Translation-Ready WordPress Themes: Step-by-Step

· 6 min read · Spanish

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Choosing a translation-ready WordPress theme saves you hours of work later. A truly translation-ready theme uses standard WordPress translation functions, includes a .pot file, and works with plugins like WPML or Polylang. This guide walks you through finding such a theme, whether you’re building a multilingual site or planning to translate later.

What You'll Need

  • A WordPress.org account (free) if you want to test free themes from the repository.
  • Access to a WordPress admin area (or a local install) to check theme files.
  • A text editor or file manager (like FileZilla) to inspect theme files if you’re using a premium theme.
  • Basic knowledge of WordPress theme structure (functions.php, style.css, template files).

Step-by-Step

  1. Check the theme’s official documentation. Visit the theme’s page (on WordPress.org or the developer’s site) and look for a section titled “Translation,” “Multilingual,” or “i18n.” If the theme claims to be translation-ready, it should explicitly say so. For free themes, the WordPress.org page often lists “Translation Ready” in the Features tab.
  2. Look for a .pot file in the theme folder. A .pot file (Portable Object Template) is the master file that contains all translatable strings. Download the theme (free or premium) and inspect its folder. You should see a languages folder containing a file like mytheme.pot. If it’s missing, the theme is not translation-ready, even if it claims otherwise.
  3. Verify that text strings are wrapped in translation functions. Open a few template files (like header.php or footer.php) and look for functions like __(), _e(), esc_html__(), or esc_attr_e(). These are WordPress’s standard translation functions. If you see hard-coded English text like echo "Read More", the theme is not translation-ready.
  4. Check for a “load_theme_textdomain” call. In the theme’s functions.php, there should be a line like load_theme_textdomain( 'textdomain', get_template_directory() . '/languages' );. This tells WordPress where to find the language files. Without this, even if you have a .pot file, translations won’t load.
  5. Test with a translation plugin. Install a free plugin like Loco Translate (for development) or Polylang (for a live site). Loco Translate lets you create a translation from the .pot file directly in your admin. Try translating a few strings and see if they appear on the front end. If they do, the theme is working correctly.
  6. Check the theme’s compatibility with WPML or Polylang. If you plan to use a full multilingual plugin, visit the plugin’s compatibility list. WPML has a “Go Global” program that certifies themes. Polylang’s documentation lists recommended themes. A theme that is translation-ready but not compatible with these plugins might still work, but you may encounter issues with custom post types or menus.
  7. Look for a text domain that matches the theme name. The text domain (the first argument in __() functions) should be consistent. If you see different text domains across files, translations will break. For example, if the theme is called “MyTheme,” the text domain should be mytheme everywhere.
  8. Check for date and number localization. A good translation-ready theme uses functions like date_i18n() for dates and number_format_i18n() for numbers. If you see raw PHP date() or number_format(), the theme will not display localized formats correctly.
  9. Read user reviews and forums. Search the theme’s support forum for “translation” or “translate.” If many users report that the theme doesn’t translate well, avoid it. Also check if the developer responds to translation-related issues.
  10. Test with a right-to-left (RTL) language. If you need Arabic, Hebrew, or Persian, ensure the theme supports RTL. Most translation-ready themes include an rtl.css file. Without it, the layout will break.

Common Mistakes

  • Assuming “translatable” means “translation-ready.” Some themes say “translatable” but lack a .pot file. Translatable only means the text strings are wrapped in functions, but without a .pot file, you have to manually add strings.
  • Ignoring the text domain. If you change the theme folder name, the text domain may break. Always keep the theme folder name as the original developer intended.
  • Relying on Google Translate for the .pot file. You must use a translation editor like Poedit or Loco Translate. Manual editing of .po files can introduce syntax errors.
  • Not checking for hard-coded strings in JavaScript. Some themes put text in JavaScript files, which are not covered by standard translation functions. Look for wp_localize_script or translatable strings in JS files.
  • Choosing a theme with a page builder that doesn’t support translation. Page builders like Elementor or WPBakery often have their own translation systems. If the theme relies on them, you may need to translate builder content separately.

Tips

  • Start with a free theme from WordPress.org. The repository has a “Translation Ready” tag. You can filter by that tag in the theme search.
  • Use a child theme. If you need to modify translation files, do it in a child theme to avoid losing changes on theme updates.
  • Check the theme’s last update date. A theme that hasn’t been updated in two years may have outdated translation functions or compatibility issues with the latest WordPress version.
  • Look for a .po file as well. Some themes include a .po file (source language) which is useful as a reference. The .pot is the template, but .po is the actual file you edit.
  • Test with a dummy translation. Create a translation like “English to French” with a few strings to see if the theme loads it correctly before committing.

Troubleshooting

Translations don’t appear on the front end. First, clear your browser cache and any caching plugin. Then, check that the language file is named correctly (e.g., fr_FR.po and fr_FR.mo for French). Also, verify that the load_theme_textdomain call is present and the path is correct.

Some strings remain in English. This usually means those strings are hard-coded or use a different text domain. Search the theme files for the English text and see if it’s wrapped in a translation function. If not, you’ll need to use a plugin like “Say What?” to override them.

The theme works with WPML but not Polylang, or vice versa. Check if the theme uses custom post types or taxonomies that need to be registered as translatable. In WPML, you may need to enable translation for those in the plugin settings. In Polylang, you might need to assign language to them.

RTL layout is broken. If the theme doesn’t have an rtl.css file, you can create one and add RTL overrides. Some themes have a “RTL support” option in the customizer. If not, you may need to add CSS manually.

Translation files are overwritten after theme update. This is normal. To avoid losing your translations, use a child theme or a plugin like Loco Translate that stores translations in the database or in a separate folder.

Frequently Asked Questions

What is a .pot file?

A .pot file is a template that lists all translatable strings in the theme. It doesn’t contain translations itself; it’s used to create .po files for each language.

Can I translate a theme that is not translation-ready?

Yes, but it’s difficult. You would need to manually wrap all hard-coded strings in translation functions, create a .pot file, and set up the text domain. It’s usually easier to choose a different theme.

Do I need a translation plugin to use a translation-ready theme?

No. You can use a .po editor like Poedit to create language files, and WordPress will load them based on your site’s locale. Plugins like WPML or Polylang make it easier to manage multiple languages, but they’re not required for basic translation.

What is the difference between translation-ready and multilingual-ready?

Translation-ready means the theme’s strings are prepared for translation. Multilingual-ready means the theme works with plugins that allow you to have multiple languages on the same site, including translated content like posts and pages.

How do I know if a theme supports RTL?

Check if the theme folder contains an rtl.css file. Also, look in the theme’s documentation or support forum for “RTL” mentions. You can test by switching your site language to Arabic or Hebrew temporarily.

Can I use a translation-ready theme with a page builder?

Yes, but you need to ensure the page builder itself is translation-ready. Most popular builders like Elementor and Beaver Builder have their own translation systems. The theme’s own strings (like “Read More”) will still be translatable.