WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Translation off since updating to 2.0.4 (2 posts)

  1. kish
    Member
    Posted 7 years ago #

    Hi to all! I've just updated to version 2.0.4 from 2.0.1 and all the tags that were translated before now are not. I've downloaded different translation files but nothing is solved. The only things I've done for updating were:

    - Download latest version (2.0.4)
    - Go to http://myserver/wp-admin/upgrade.php
    - Follow the instructions found in: "http://wordpress.org/support/topic/48398?replies=11" as I got "Fatal error: Only variables can be passed by reference in (...)/wp-includes/gettext.php on line 66" error:

    **** I've found easy solution -

    just edit includes/gettext.php
    - find unpack('V'

    change this
    array_shift(unpack('V', $this->STREAM->read(4)));
    to
    $tmp=unpack('V', $this->STREAM->read(4));
    return array_shift($tmp);

    It worked on my blog.. ****

    Could this cause the translation error?

    If so, how can I solve the problem "Fatal error: Only variables can be passed by reference in (...)/wp-includes/gettext.php on line 66" without affecting the language translation?

    Thanks in advanced.

    SS

  2. kish
    Member
    Posted 7 years ago #

    Solved the problem. I have updated PHP from version 5.0.5 to 5.1.6 (latest version) and now the translation works without bugs.

Topic Closed

This topic has been closed to new replies.

About this Topic