Okay
  Print

WordPress 6.7: Critical translation file loading error.

Introduction

WordPress 6.7 brought a host of new features and improvements, but it also introduced some challenges. One common issue users face after updating is broken translations. If you've noticed missing or incorrect translations on your site, don't worry - we'll guide you through the most common causes and solutions to get your translations back on track.

Solutions

To resolve this issue, please follow these steps:

  1. Update your theme and Addons plugin to the latest versions. Refer to your theme's documentation for specific update instructions. Here are examples for the Razzi theme:

  2. Navigate to Loco Translate > Plugins and select your Addons plugin (e.g., Razzi Addons) https://prnt.sc/MNMGGD08vYV-
  3. Within the Addons plugin settings, locate the "Advanced" tab. https://prnt.sc/Pc2DJdNzN7zc

  4. In the "Advanced" configuration, modify all settings as shown in the following screenshot: https://prnt.sc/nJkqVMg2txAR

  5. Still within the Addons plugin, edit your preferred language. https://prnt.sc/jNMpJSjXW9hF

  6. Under the "Language" tab, click the "Relocate" tab to find the location of the translation files. https://prnt.sc/pdeIU2g62-yL

  7. Use an FTP client or a File Manager plugin to locate the translation files (e.g., languages/plugins/razzi-en_US.po).

  8. Rename the translation files as follows:

    • razzi-en_US.l10n.php to razzi-addons-en_US.l10n.php
    • razzi-en_US.mo to razzi-addons-en_US.mo
    • razzi-en_US.po to razzi-addons-en_US.po

Please note that these steps are specific to the Razzi theme and its Addons plugin. The process might differ for other themes.