Support » Fixing WordPress » WP mo file is overwritten in Hebrew version

  • Resolved galpeaceman

    (@galpeaceman)


    A client of mine has upgraded from 3.7.1 to 3.8.3. Original installation was a Hebrew version of WP, downloaded from he.wordpress.org. An updated version of qTranslate is installed on the website, with English and Hebrew installed, the first being the default language. Later that week, v3.8.4 security version was released, and was auto-upgraded on the server.
    Since the upgrade, WP does not recognize the hebrew pages (nor the admin) as rtl; strings are translated correctly (both on-site and in admin), and content appears in Hebrew when relevant BUT everything is left to right.
    After deep-diving into the code, problem was found in /wp-content/languages/he_IL.mo file. It was nearly empty (315b). So, I manually replaced that file with the correct one for wp v3.8.3, downloaded from he.wordpress.org.
    The problem was fixed, and everything went back to normal.
    A week later, the client has informed me that the issue has returned. Indeed, the file has “magically” returned to the wrong 315b version. This has repeated several times in the last weeks.
    What am I doing wrong, and how should I fix this ?
    Link to website: http://www.spaceil.com/he

Viewing 1 replies (of 1 total)
  • Got it!
    After weeks of struggling, it appears that someone has enabled qTranslate’s “Automatically check for .mo-Database Updates of installed languages” feature.
    It appears that qTranslate ran into an error when updating the he_IL.mo file, and overwrote it with the following content:

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /wordpress-i18n/he_IL/tags/3.7.5/messages/he_IL.mo was not found on this server.</p>
    <hr>
    <address>Apache Server at svn.automattic.com Port 80</address>
    </body></html>

    Hope this helps anyone…

Viewing 1 replies (of 1 total)
  • The topic ‘WP mo file is overwritten in Hebrew version’ is closed to new replies.