Title: Problem with localization
Last modified: August 18, 2016

---

# Problem with localization

 *  [tiryakim](https://wordpress.org/support/users/tiryakim/)
 * (@tiryakim)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/problem-with-localization/)
 * I am experiencing problems with the localization of WordPress.
 * My Setup is : Php 5.2.1 with gettext module enabled.
    wp-config is configured
   and .mo file resides in languages directory. However still WordPress doesn’t 
   load the Turkish language..
 * I am not getting errors or whatso ever.
 * Did or does anybody have had the same problem?

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

 *  [MDD](https://wordpress.org/support/users/mdd/)
 * (@mdd)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/problem-with-localization/#post-542601)
 * Yes it is a bug in php 5.0. Was corrected be entry in gettext.php file (wp-includes).
   Thisc correction does not work with php 5.2.1
 * You need to edit **gettext.php** file
 * 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](http://wordpress.dk/forum/topic/19)
 * It is working for me. WordPress 2.1.3 php 5.2.1
 *  [kenanoff](https://wordpress.org/support/users/kenanoff/)
 * (@kenanoff)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/problem-with-localization/#post-542639)
 * I have the same problem, I used to have Bulgarian localization running, but it
   disappeared last week. At the moment I’m with PHP 5.2.3, don’t know if was upgraded
   by the host.
    I did the recommended here, but it didn’t help. Also did this –
   [http://www.bluehostforum.com/showthread.php?t=259](http://www.bluehostforum.com/showthread.php?t=259)
   but I’m still stuck with the English. Anybody to have another solution?
 * Thanks,
    Mikhail
 *  [kenanoff](https://wordpress.org/support/users/kenanoff/)
 * (@kenanoff)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/problem-with-localization/#post-542640)
 * For me – finally this did the trick
    [http://comox.textdrive.com/pipermail/wp-trac/2007-June/012844.html](http://comox.textdrive.com/pipermail/wp-trac/2007-June/012844.html)
 *  [anafikir](https://wordpress.org/support/users/anafikir/)
 * (@anafikir)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/problem-with-localization/#post-542666)
 * I did this -> [http://comox.textdrive.com/pipermail/wp-trac/2007-June/012844.html](http://comox.textdrive.com/pipermail/wp-trac/2007-June/012844.html)
 * It’s worked for localization but this time, post edit page not showing. I can
   see right side but post editor part is not shown.
 * Any idea?
 *  [anafikir](https://wordpress.org/support/users/anafikir/)
 * (@anafikir)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/problem-with-localization/#post-542667)
 * It turns out it’s about the php.ini problem.
 * If you face the same problem after the server upgrade, you must tell your hosting
   about updating php.ini according to old configrations.

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

The topic ‘Problem with localization’ is closed to new replies.

## Tags

 * [gettext](https://wordpress.org/support/topic-tag/gettext/)
 * [language](https://wordpress.org/support/topic-tag/language/)
 * [localisation](https://wordpress.org/support/topic-tag/localisation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [anafikir](https://wordpress.org/support/users/anafikir/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/problem-with-localization/#post-542667)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
