WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Theme Translation & Localization / Rename theme words with Loco Translate Plugin

Rename theme words with Loco Translate Plugin

9920 views 2
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
You will learn how to rename/translate User Role labels: User, Agent, Agency and Developer using the Loco Translate plugin. Watch Video on Youtube

Content

  • Before you start
  • Rename theme words
  • Rename WPResidence Core words
  • After a theme or plugin update

Loco Translate changes the words WPResidence shows, for example Schedule a tour to Book a viewing. To rename an English word, write the new word as its English (United States) translation.

The words are in two language files. If a word is missing from the theme file, look for it in the core plugin file.

File Where to open it
WpResidence child theme Loco Translate > Themes
WPResidence Theme Core Functionality plugin Loco Translate > Plugins

Some labels are set in Theme Options, not in language files: Texts you edit in wp-admin.

Before you start

  1. Install Loco Translate from Plugins > Add New.
  2. Activate the child theme. Its language files are kept when you update the theme: How to install the child theme.
  3. Set the site language in Settings > General > Site Language. To rename English words, choose English (United States).

WordPress Settings General with the Site Language field marked

Rename theme words

  1. Go to Loco Translate > Themes and open WpResidence child theme.

Loco Translate Themes list with WpResidence child theme marked

  1. Open English (United States), file en_US.po. If your site uses another language, open that language.

Loco Translate, WpResidence child theme languages with English (United States) en_US.po marked

  1. Type the word in Filter translations, click it, write the new word in the translation box and click Save.

Loco Translate editor, child theme en_US.po with Schedule a tour renamed to Book a viewing

  1. Clear the cache and check the page.

WPResidence property page showing the renamed Book a viewing tab

Rename WPResidence Core words

  1. Go to Loco Translate > Plugins and open WPResidence Theme Core Functionality.

Loco Translate Plugins list with WPResidence Theme Core Functionality marked

  1. Click New language, choose English (United States), select the location languages/loco/plugins and click Start translating. Files in this location are kept when the plugin updates. Files inside the plugin folder are replaced. Next time, open the file you created.

Loco Translate New language for WPResidence Theme Core Functionality with English and the languages/loco/plugins location marked

  1. Find the word, write the new word and click Save. The example renames ft to sqft. Measurement units also need one more step: How to translate measurement units.

Loco Translate editor for WPResidence Theme Core Functionality with ft renamed to sqft

After a theme or plugin update

Your renamed words stay after updates. An update can add new texts to the theme and the core plugin. To add them to your file, follow After a theme or plugin update.

Theme Translation & Localization

Related Articles

  • Multi Languages with WPEstate Translate plugin
  • How to Translate WPResidence Into Another Language
  • How to Translate Measurement Correctly
  • What Details are translated from Theme Options
MLSImportWordPress IDX Plugin for MLS ListingsImport MLS listings into your WordPress website, customize your property pages, and keep your inventory updated.Start free 30-day trial →

Help Categories

  • 111 Installation & Changelog
  • 19Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 14Footer
  • 38Header
  • 2IDX & MLSImport
  • 23Maps & Location Settings
  • 50Multilingual Websites – WPEstate Translate (Included)
  • 21Pages & Page Templates
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 38Property Single Page
  • 32Search & Filtering
  • 170Technical how to | Custom Code
  • 9Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Theme Translation & Localization
  • 28Third Party Plugins Compatible
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 9WPResidence Elementor Studio
  • 39WPResidence Elementor Widgets
  • 79WPResidence FAQ

Join Us On

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