Title: Localization Problems
Last modified: August 18, 2016

---

# Localization Problems

 *  [jimithesaint](https://wordpress.org/support/users/jimithesaint/)
 * (@jimithesaint)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/localization-problems/)
 * 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?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [jimithesaint](https://wordpress.org/support/users/jimithesaint/)
 * (@jimithesaint)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/localization-problems/#post-235703)
 * 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?
 *  [Ozzy](https://wordpress.org/support/users/ozzy/)
 * (@ozzy)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/localization-problems/#post-235713)
 * 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
 *  [vkrivokuca](https://wordpress.org/support/users/vkrivokuca/)
 * (@vkrivokuca)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/localization-problems/#post-235738)
 *  [vkrivokuca](https://wordpress.org/support/users/vkrivokuca/)
 * (@vkrivokuca)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/localization-problems/#post-235739)
 * Don’t know what came to me, respondes with some solution to wrong thread. Sorry
   for garbage.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Localization Problems’ is closed to new replies.

## Tags

 * [Localization](https://wordpress.org/support/topic-tag/localization/)
 * [sv_SE](https://wordpress.org/support/topic-tag/sv_se/)
 * [Swedish](https://wordpress.org/support/topic-tag/swedish/)
 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [vkrivokuca](https://wordpress.org/support/users/vkrivokuca/)
 * Last activity: [20 years, 8 months ago](https://wordpress.org/support/topic/localization-problems/#post-235739)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
