How to use Loco Translate with the MyListing Theme

Guide Overview:
This Loco Translate guide focuses on how to easily change text within the MyListing theme and its commonly-associated plugins. Any changes we make will target the English language.
If you get value from this type of content, help us keep it free.

Loco Translate MyListing theme

While we recommend using the MyListing child theme regardless, Loco Translate works directly with the parent theme and translations are retained as long as the correct settings are chosen.

  1. Browse to Loco Translate > Themes
  2. Select My Listing
  3. New language
  4. Choose a language > English (United States)
  5. Choose a location > Leave it at the default setting of Custom or choose System. (Note: Do not choose the “Author” option, as that will allow your translations to be overwritten with future updates to the theme.)
  6. Click Start translating
  7. Click the Sync button to ensure you have the most recent data (“strings”)
  8. In the Filter translations box, enter the text you wish to change (ex. “Choose a Package”), and choose the exact match from the Source text section
  9. With the Source text selected, enter the new text you would like to see (ex. Choose Listing Package), in the English (United States) translation section
    Click Save

Geeky notes from the field

Prior to the Loco Translate plugin is installed, the /wp-content and /wp-content/themes folders of your WordPress installation do not contain a languages folder. The /wp-content/themes/my-listing folder does contain a languages folder.

The language folder that comes with a default MyListing installation (/wp-content/themes/my-listing) contains translations for Portuguese Portugal (pt_PT.mo and pt_PT.po), Portuguese Brazil (pt_BR.mo and pt_BR.po), Russian, and German. If any of these languages will never be of importance to your website, you can safely delete them from the Loco Translate plugin or via FTP. With our current MyListing websites, we only care about the English language, therefore we delete all other language translations. The folder also contains the my-listing.mo and my-listing.pot files.

If you followed the steps above in their entirety, a languages folder is created at the root of the /wp-content folder, and the path that you’ll then focus on is the /wp-content/languages/themes. In that folder path, you should have the my-listing-en_US.mo and my-listing-en_US.po files. After you save your first “translation”, the original my-listing-en_US.po file will be backed up and have “-backup” appended to the filename. The new my-listing-en_US.po file will contain your “translations”, while the associated my-listing-en_US.mo file will be what WordPress actually reads, for your “translations”.

Loco Translate WooCommerce

  1. Browse to Loco Translate > Plugins
  2. Select WooCommerce
  3. From here, follow the same steps as with the MyListing theme

Let's empower others. Share the knowledge.

Share on twitter
Share on facebook
Share on linkedin
Scroll to Top