Forums

Localization Problems (5 posts)

  1. jimithesaint
    Member
    Posted 2 years ago #

    Hi all,

    Im currently trying to change default language to swedish, using wordpress 15.3.1. I compiled a sv_SE.mo file (UTF-8)using poEdit 1.3.2 for linux-GTK and uploaded it to wp-includes/languages/sv_SE.mo. I changed define ('WPLANG', 'sv_SE') in wp-config.php and reloaded my blog and now Im getting Fatal error: Only variables can be passed by reference in /home/blog/wp-includes/gettext.php on line 66.

    Using: php 5.1beta3, apache 2.0.48, mysql 4.1, wordpress 1.5.1.3, using default theme.

    anyone here got a clue?

  2. jimithesaint
    Member
    Posted 2 years ago #

    PHP5 issue...

    I degraded my PHP install from 5.1 to 4.4 and everything works fine. Anyone tried PHP5.x and localization of wordpress?

  3. Ozzy
    Member
    Posted 2 years ago #

    I have same problem, error is in this function array_shift

    search function readint()

    //return array_shift(unpack('V', $this->STREAM->read(4)));
    //REPLACE THIS BY FOLLOW

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

    and on in other functions array_shift

  4. vkrivokuca
    Member
    Posted 2 years ago #


  5. vkrivokuca
    Member
    Posted 2 years ago #

    Don't know what came to me, respondes with some solution to wrong thread. Sorry for garbage.

Topic Closed

This topic has been closed to new replies.

About this Topic