WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Theme Translation & Localization / How to Translate Measurement Correctly

How to Translate Measurement Correctly

650 views 0

The size units ft, m, ac, yd and ha are texts in the WPResidence Theme Core Functionality plugin. To show another label, for example sqft instead of ft, translate the unit with Loco Translate, then save the unit again in Theme Options.

Text to translate Unit
ft square feet
m square meters
ac acres
yd square yards
ha hectares

Change the unit label

  1. Open Loco Translate > Plugins > WPResidence Theme Core Functionality and click your language. If it is not listed, click New language, choose the language, keep the location languages/loco/plugins/ and click Start translating.

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

  1. Find the unit: type ft in Filter translations and click the row with the source text ft.
  2. Write the new label in the translation box at the bottom, for example sqft, and click Save.

Loco Translate editor with the ft unit translated as sqft and the Save button marked

  1. Save the unit again in Theme Options > General > Measurement Unit. Choose the unit in Measurement Unit for Property Size, and in Measurement Unit for Lot Size if you use it, then click Save Changes. Theme Options keeps the unit label from the moment you save, so this step switches it to the new label.

Theme Options > General > Measurement Unit with the property size unit and Save Changes marked

  1. Clear the cache and open a property. The theme adds ² after ft, m and yd, so the size shows as 190 sqft².

Property page showing the size as 190 sqft after the translation

The units are only in the WPResidence Theme Core Functionality file, so translate them there. Repeat the steps for another unit or language. More about Loco Translate: How to translate WPResidence.

Theme Translation & Localization

Related Articles

  • Multi Languages with WPEstate Translate plugin
  • How to Translate WPResidence Into Another Language
  • Rename theme words with Loco Translate Plugin
  • 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
  • 3IDX & MLSImport
  • 23Maps & Location Settings
  • 50Multilingual Websites – WPEstate Translate (Included)
  • 21Pages & Page Templates
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 38Property Single Page
  • 33Search & 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
  • 1WPResidence PRO

Join Us On

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