WP Residence Help WP Residence Help

  • WpEstate
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / 30. WPResidence Translate Plugin / The String Scanner

The String Scanner

9 views 0

The WPResidence Translate string scanner is the engine that discovers every translatable label on your site and registers it in the plugin’s database. Without a scan, the translation grid under Theme & Plugins Strings is empty. This article explains what gets scanned, what gets skipped, and how to re-run the scanner after changes. For the bigger picture, see our guide on building a multi-language real estate website.

Where to Trigger a Scan

Go to WPEstate Translate → Theme & Plugins Strings and click Scan for translations. A confirmation banner reports how many new strings were registered (for example: “Scan completed. 427 new strings were registered.”).

What The Scanner Looks At

For each run, the scanner inspects three sources:

  • Active (child) theme — reads all .mo and .po files in the theme’s languages/folder.
  • Parent theme — if a child theme is active, the parent is scanned too, so you inherit its translations.
  • Active plugins — any plugin that ships a language/directory. On a multisite, network-activated plugins are included automatically.

For every file the scanner pulls the source strings, any translations already shipped inside the file, and stores them in the plugin’s database. Non-Latin alphabets (Cyrillic, Arabic, Chinese, Japanese, etc.) are preserved byte-for-byte.

What The Scanner Skips

  • Themes and plugins without a languages/ folder — the scanner has nothing to read.
  • Single-file plugins (like hello.php) — these are intentionally skipped.
  • Inactive plugins — only active/network-active plugins are examined.
  • Files that are not .mo or .po.

If a plugin or theme has no translation files at all, its strings never appear in the grid. In that case, install its language pack (WordPress.org → Dashboard → Updates → Translations) or place a starter .po file in the relevant languages/ folder and rescan.

When To Re-Scan

The scanner is incremental. It records the most recent modification time of each target’s languages/ folder and skips untouched targets on subsequent runs. Re-run a scan whenever you:

  • Activate or deactivate a plugin.
  • Switch themes or activate a child theme.
  • Update WordPress, the theme, or a plugin (because updates often add new strings).
  • Add or remove a language under WPEstate Translate → Languages.
  • Drop fresh .po files into a languages/ folder manually.

Scans are safe to run as often as you like. They do not delete existing translations — they only add new strings and refresh metadata for known ones.

Forcing a Full Rescan

If you want to rebuild from nothing — for example after deleting obsolete strings — use Clear stored translations at the top of the page, then click Scan for translations again. This wipes the strings database and recreates it from what is currently on disk. Be aware: any translations you typed in by hand will be lost, so export or generate MO files first.

Child Theme Notes

The scan screen shows a status banner for translation-file discovery:

  • Green — a child theme is active and has its own translations folder with .mp/.po files. Both child and parent translations are picked up.
  • Red — a child theme is active but its languages folder is empty. Copy the files from the parent theme to keep your translations safe across updates.
  • Amber — no child theme is active. Translation files come only from the parent theme and may be overwritten by theme updates.

Large Sites & Performance

On sites with many active plugins, an initial scan may take several seconds. Subsequent scans are much faster thanks to the per-target modification-time check. If your server times out, deactivate a few plugins temporarily, run the scan, then reactivate them.

Related Articles

  • Translating Theme & Plugin Strings — the editor workflow after scanning.
  • Gettext Pipeline & MO Files — how translations reach the front end.

For the product overview, see the multi-language real estate website page.

30. WPResidence Translate Plugin

Related Articles

  • String Scanner — Developer Guide
  • Gettext Pipeline & MO Files — Developer Guide
  • Gettext & MO Files — Making Translations Appear on the Front End
  • Automatic Translation — Developer Guide

WP Residence Documentation

  • 01. Getting Started
    • How to Get Support
    • Get your buyer license code.
    • Use SSL / https
    • Server / Theme Requirements
  • 02. Installation & Setup
  • 03. Installation FAQ
  • 06. Search & Filtering
    • Advanced Search Display Settings
    • Advanced Search Form
    • Geolocation Search for Half Map
    • Save Search Theme Options
    • Advanced Search Colors
  • 09. Agent, Agency & Developers
  • 08. Property Pages & Layouts
  • 07. Property Lists, Categories & Archive
  • 13. WPResidence Elementor Studio
  • 10. Blog Posts & Blog List
  • 11. Shortcodes
    • Contact Form
    • Featured Agency/Developer
    • Membership Packages
    • Testimonials
    • Google Map with Property Marker
    • Listings per Agent, Agency or Developer
    • Display Categories
    • Agent List
    • Recent Items Slider
    • Recent items
    • List Properties or Articles by ID
    • Featured Agent
    • Featured Article
    • Featured Property
    • Login & Register Form
    • Icon Content Box Shortcode
  • 12. Widgets
  • 04. Theme Options & Global Settings
    • General Settings
    • User Types Settings
    • Appearance
    • Logos & Favicon
    • Header
    • Footer Style and Colors
    • Price & Currency
    • Property Custom Fields
    • Features & Amenities
    • Listing Labels
    • Theme Slider
    • Permalinks
    • Splash Page
    • Social & Contact
    • Map Settings
    • Pin Management
    • How read from file works
    • General Design Settings
    • Custom Colors Settings
    • Header Design & Colors
    • Mobile Menu Colors
    • User Dashboard Colors
    • Print PDF Design
    • Property, Agent, Blog Lists Design Settings
    • Sidebar Widget Design
    • Font management
    • How to add custom CSS
    • Custom Property Card Unit – Beta version
    • Email Management
    • Import & Export theme options
    • reCaptcha settings
    • YELP API Integration
    • iHomefinder Optima Express IDX
    • MEMBERSHIP & PAYMENT Settings
    • Property Submission Page
    • PayPal Setup
    • Stripe Setup
    • Wire Transfer Payment Method
  • 20. Translations & Languages
  • 26. FAQ
  • 10. Pages
  • 11. Header
  • 12. Footer
  • 05. Maps & Location Settings
  • 18. Payments & Monetization
  • Plugins
    • 19. Included Plugins
    • 22. Third Party Plugins – IDX Compatibility
    • 21. Third-Party Plugins – Multi-Language
    • 23. Third party Plugins – Other
  • Technical
    • 24. Technical how to | Custom Code Required
    • 25. Technical: Child Theme

Join Us On

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