WPML

Overview of the Issue

You may experience issues with native translations coming from plugins that use the Performant translations (opens in a new tab) feature. For example, with plugins as WooCommerce, Blocksy or MasterStudy LMS Learning Management System, you may experience that the translations already provided does not appear correctly on the frontend.

Workaround

This issue is fixed in WPML String Translation 3.2.14. Updating solves it on your site, so you only need this workaround if you can’t update yet.

Please, make sure of having a full site backup of your site before proceeding.

  • Open …wp-content/plugins/wpml-string-translation/classes/MO/LoadedMODictionary.php file.
  • Look for line 46.
  • Replace:
    PHP
    $moFileName = str_replace('l10n.php', '.mo', $loaded_file);
  • With:
    PHP
    // WPML Workaround for compsupp-7393
    $moFileName = str_replace('l10n.php', 'mo', $loaded_file);

All known issues

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.