Title: wp localization problem with php 5
Last modified: August 19, 2016

---

# wp localization problem with php 5

 *  Resolved [ala101](https://wordpress.org/support/users/ala101/)
 * (@ala101)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-localization-problem-with-php-5/)
 * Hello!
    I noticed that the Arabic wordpress does not work well with php 5 . Even
   though the ar.mo file is in its correct place , and the following lines are in
   wp-config.php : define (‘WPLANG’, ‘ar’);
 * wp is working but in English instead of Arabic!
    the version i installed is 2.3.2
 * any suggestions plz ?

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

 *  Thread Starter [ala101](https://wordpress.org/support/users/ala101/)
 * (@ala101)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-localization-problem-with-php-5/#post-676545)
 * Hello !
    I solved the problem . There seems to be a bug with php code in the 
   file gettext.php since a long time !
 * i wonder why this fix was not made in the recent wp updates !
 *  [anafikir](https://wordpress.org/support/users/anafikir/)
 * (@anafikir)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-localization-problem-with-php-5/#post-676824)
 * what is the solution?

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

The topic ‘wp localization problem with php 5’ is closed to new replies.

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
