When a new theme version is released/updated, the translation .po must be updated as well to find the new terms added in:

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

Update with Loco Translate for theme languages files

Go to Loco Translate –> Themes

  • -> Save Template File in Loco Translate -> Advanced -> Make sure template file is saved to languages/wpresidence.pot or languages/wpresidence.po

  • Sync translations

  • -> Search for the words you wish to rename, edit and save.

Update with Loco Translate for plugin languages files 

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

  • -> Save Template File in Loco Translate -> Advanced to the name languages/wpresidence-core.pot or languages/wpresidence-core.po

  • -> Edit and Sync translation

  • Translate the new terms and save

 

 

Update with POEDIT (free version)

Step #1 – Open up your existing language PO file with Poedit software.

The files are in:

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

step-1

Step #2 -Go to Catalog and  select Update from POT file

step-2

Step #3.1 – First, change the file type option to All Files, then select:

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

step-3

Step #4 – 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.

step-4

Step #5 – 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 langauge file
  2. wp_content/plugins/wpresidence-core/lanaguages/wpresidence-core.po  – plugin langauge file