WP Rentals Help WP Rentals Help

  • Client Support
  • Video Tutorials
  • WpRentals
  • WpEstate
  • API
Home / Translation / How to update .PO translation after a theme update

How to update .PO translation after a theme update

16741 views

When a new WpRentals version is released, new text strings may be added to the theme or core plugin. To ensure your translations stay up-to-date, you’ll need to update your .po files using either Loco Translate or Poedit.

  • wp_content/themes/wprentals-child/languages/wprentals.po
  • wp_content/plugins/wprentals-core/lanaguages/wprentals-core.po

Below are the steps for both methods.

CONTENT

  • Update translations with Loco Translate
  • Backup your translations
  • Update translatoon with POEDIT

Update with Loco Translate Plugin the WpRentals Theme Language Files

  • Go to Plugins > Add New, search for Loco Translate, install and activate it.

Ensure You’re Using the Child Theme

  • Install and activate the WpRentals Child Theme before starting translation.

  • 🔗 Help: Install Child Theme

Find the WpRentals Theme Translation you wish to update

  • Go to Loco Translate > Themes.

  • Click on WpRentals Child Theme from the list.

  • Check the configuration settings for language match the screenshot below
    • Project name – WpRentals Child theme
    • Text domain – wprentals
    • File Prefix – wprentals
    • Template file – languages/wprentals.pot
    • Domain path  – languages
    • Source file paths – blank

Edit Your Language

  • If your language exists, click it (e.g., Danish (da)) -> Edit

  • Sync the translation with the SYNC button

  • Search for the new terms, translate, and save

Find the WpRentals Core Functionality plugin languages files

  • Go to Loco Translate – Plugins
  • Select WpRentals -Theme Core Functionality

  • Check the Template File in Loco Translate -> Advanced to match the below screenshot

  • Edit, Sync and Save translations

  • Translate the new terms and save

How to backup and upload custom translations with Loco Translate

Before starting a theme update, you can backup your custom translations, especially those you make in Plugins/WpResidence-Core/Languages folder

These are the steps

1. Find and Download the .po from Loco Translate plugin

2. Complete the WpRentals theme update and the WpRentals Core Plugin update. Help https://help.wprentals.org/article/how-to-update-the-theme-and-plugins/

3. Upload your backup po to the updated theme

Update with POEDIT (free version)

Download and install Poedit.

Open existing .po files:

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

Go to Catalog → Update from POT file

Change file type to All Files and select: 

  1. the new wprentals.po  PO file from  wprentals/languages/wprentals.po
  2. the new wprentals-core.po PO file from plugins/wprentals-core/lanaguages/wprentals-core.po

All new strings will reflect in your language po. 

Translate new strings and save.

  1. wp_content/themes/wprentals/languages/wprentals.po  – theme language file
  2. wp_content/plugins/wprentals-core/lanaguages/wprentals-core.po  – plugin language file
Translation

Related Articles

  • How to modify theme default text to a different wording with Loco Translate or Poedit
  • Translate WpRentals theme to a different language

HELP CATEGORIES

  • 61. General
  • 102. Installation & Basic Setup
  • 93. Installation FAQ
  • 404. How Booking Works
  • 145. User dashboard pages
  • 20Advanced Search Options
  • 3Blog Post
  • 9Custom Page Templates
  • 18Elementor Compatibility
  • 13Email Notifications
  • 19FAQ
  • 10Menu Options
  • 26Multi-Languages - 3rd party
  • 9Owner
  • 25Property / Listing
  • 21Shortcodes
  • 11Submit Form
  • 4Supported Maps
  • 93Technical how to
  • 5Third Party plugins
  • 3Translation
  • 13Widgets
  • 2WooCommerce Payments
  • 13WP Rentals Payment
  • 77WP Rentals Theme Options

Join Us On

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