WordPress.org

Ready to get started?Download WordPress

Forums

language server problem wordpress 2.1.2 (4 posts)

  1. biochip
    Member
    Posted 7 years ago #

    Hi, I just upgrade the wordpress version from 2.0 to 2.1.2, & the localization ca_ES is not working.

    In local work's, but in the server not, we make a lot of tests & nothing work on 2.1.2 version, don't display the catalan language.

    But every thing is fine, the php & mysql versions, gettext... all is fine!

    So, wich is the problem? ´╗┐Are there more people with this problem? how can we solve it?

    thank's a lot!
    Bests...

  2. MDD
    Member
    Posted 7 years ago #

    You can try to edit gettext.php file from wp-includes directory.

    Find entry:

    if ($magic == ($MAGIC1 & 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms
    $this->BYTEORDER = 0;
    } elseif ($magic == ($MAGIC2 & 0xFFFFFFFF)) {

    Replace by:

    if ($magic == $MAGIC1) {
    $this->BYTEORDER = 0;
    } elseif ($magic == $MAGIC2) {

    The solution was described there: http://wordpress.dk/forum/topic/19

    It is working for me. WordPress 2.1.3 php 5.2.1
    This was some problem with bug in php 5 corected by this file and then upgrade on server side to php 5.2.1.

  3. biochip
    Member
    Posted 7 years ago #

    uops, it's not working 4 me...
    but thank's a lot!

    any new idea?

  4. weblatam
    Member
    Posted 6 years ago #

    Maybe the page you tested was on cache, try to catch another page from your blog and see if it was changed.
    Good luck.

    Thejuli

Topic Closed

This topic has been closed to new replies.

About this Topic