How to translate the theme?
Translating the Porto theme in WordPress can be done in a few different ways depending on your needs — whether you want to translate just a few strings or fully localize your site into another language.
Method 1: Using Loco Translate (Recommended for Most Users)
Loco Translate is a free plugin that allows you to translate theme and plugin strings directly from the WordPress admin panel.
Steps:
- Install Loco Translate
- Go to
Plugins > Add New
- Search for Loco Translate
- Install and activate it
- Go to
- Translate the Porto Theme
- Go to
Loco Translate > Themes > Porto
- Click “New Language”
- Choose your language (e.g. French) and choose System or Custom location (recommended: Custom to avoid being overwritten by theme updates)
- Click Start Translating
- Go to
- Translate Strings
- You’ll see a list of translatable strings from the Porto theme
- Click any string, write the translation in the box, and hit Save
- Apply the Site Language
- Go to
Settings > General > Site Language
- Choose the language you translated (e.g. Français)
- Go to
Pro Tip:
- Use the Sync button in Loco Translate if strings appear to be missing after a theme update.
Method 2: Translate Manually via .po/.mo Files
If you prefer to edit files manually or want full control (or are working offline):
Steps:
- Go to:
/wp-content/themes/porto/languages/
or use a child theme:
/wp-content/themes/porto-child/languages/
- Use a tool like Poedit to edit:
-
porto.pot
file (template) - Save your language as
xx_XX.po
(e.g.,fr_FR.po
for French) - Compile into
.mo
file
-
- Upload the
.po
and.mo
files to:
/wp-content/languages/themes/
- Change your site language from
Settings > General
Method 3: Translate with Polylang or WPML (for Multilingual Sites)
If you want a multilingual website (e.g. English + German), use:
- WPML (Paid, officially supported by Porto)
- Polylang (Free, works well with some custom config)
Both plugins allow you to:
- Translate pages, posts, menus, custom post types
- Translate theme strings (via String Translation modules)
Important: When using WPML or Polylang, still use Loco Translate or
.po/.mo
files to translate static theme strings.
Translate Porto Functionality Plugin (Optional)
Some texts come from Porto Theme – Functionality plugin.
To translate it:
- Go to
Loco Translate > Plugins > Porto Functionality
- Follow the same process as above to add a new language
🌐 Notes
- Custom Translations Location is best:
/wp-content/languages/themes/
to avoid losing translations on updates. - Porto is translation-ready using standard WordPress internationalization (
__()
and_e()
functions), so all frontend strings should be translatable.
Final Checks
- Change
Settings > General > Site Language
to test. - Clear all caches (theme, plugin, browser).
- If some texts don’t translate, check:
- They’re from plugins (translate them too)
- They’re hardcoded (you may need child theme overrides)