WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Translations & Languages / Update .po translation after a theme update

Update .po translation after a theme update

9059 views 1

CONTENT

  • Update with Loco Translate
  • Update with POEDIT

When a new theme version is released/updated, the translation .po must be updated as well to find the new terms added.  The translations file from the theme and from WPResidence Core functionality plguins will need to be updated.

1. Update the po file with the Loco translate plugin

Before reading this help file you may want to check this video. It explains theme functionality and may be easier to understand. Watch Video on Youtube

The steps are:

Step1: Go to Loco Translate > Themes

Select WpResidence Child theme (keep translation in child theme so you don’t lose the translation when theme updates).

Help article for how to install child theme 

Step2: Save Template File in Loco Translate > Advanced > Make sure template file is saved to languages/wpresidence.pot

Step3: Edit the language file and Sync translations

Step4: Search for the words you wish to rename, edit and save.

The 4 steps above need to be repeated for the Wp Residence Core functionality plugin as well.

Step1: Go to Loco Translate – Plugins and select WpResidence -Theme Core Functionality

Step2: Save Template File in Loco Translate > Advanced to the name languages/wpresidence-core.pot

Step3: Edit the language file and Sync the translation

Step4: Search for the words you wish to rename, edit and save.

2. Update with POEDIT (free version)

If you do not use the Loco translate plugin, the language file can be updated via POEDIT.

The steps are:

Step1: Download the .po and .mo files for your language locally in your device

The files are in:

  1. wp_content/themes/wpresidence/languages/wpresidence.po  
  2. wp_content/plugins/wpresidence-core/lanaguages/wpresidence-core.po

Step2: Open po file with Poedit

Step3: Go to Translation and select Update from POT

Step4: Select the .pot from wpresidence/Languages

Step 5 – Once the import is completed, all the new string from the new PO file will be added and your existing (translated) string will remain intact as well.

Step6: Finally, proceed to translate all the new string into your preferred language. Save. Move the updated .po and .mo language file back:

  1. wp_content/themes/wpresidence/languages/wpresidence.po  – theme language file
  2. wp_content/plugins/wpresidence-core/language/wpresidence-core.po  – plugin language file
Translations & Languages

Related Articles

  • How to Translate Measurement Correctly
  • How to Translate WPResidence Into Another Language
  • Rename theme words with Loco Translate Plugin
  • What Details are translated from Theme Options

Help Categories

  • 18Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 38Elementor Shortcodes Built-In
  • 45FAQ
  • 15Footer
  • 5Getting Started
  • 37Header
  • 2IDX & MLSImport
  • 6Installation & Setup
  • 23Installation FAQ
  • 23Maps & Location Settings
  • 21Multi-Language Third Party Plugins
  • 6Other Third party Plugins
  • 19Pages
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 36Property Pages & Layouts
  • 31Search & Filtering
  • 162Technical how to | Custom Code Required
  • 8Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Translations & Languages
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 50WPResidence 5.0 Documentation
  • 8WPResidence Elementor Studio
  • 50WPResidence Translate Plugin

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API