Hi,
I'm using WP on bluehost but i can't use it in my own language. Everything seems ok on WP side.
It seems our gettext support enabled. But i still need to ask. Does anyone have this kind of problem?
I have no idea what could be the problem...
Hi,
I'm using WP on bluehost but i can't use it in my own language. Everything seems ok on WP side.
It seems our gettext support enabled. But i still need to ask. Does anyone have this kind of problem?
I have no idea what could be the problem...
I have exactly the same problem. According to the materials I read, localization should be a pretty simple process. I have uploaded the .mo file and modified the wp-config.php as instructed, but still got an English WP instead of a Chinese one which I need.
I even tried a fresh install, once using a Chinese WP pack. Strangly, the installation was in Chinese, but as soon as it was done the website became English again.
I have also tried removing php.ini as well as altering the default coding of the MySQL database from latin to utf8. It still does not work. So I am thinking if it could be due to some settings on the Bluehost servers.
This is a workpress bug. You can correct this by editing gettext.php in the wp-includes folder and replacing $MAGIC1 and $MAGIC2 with:
$MAGIC1 = 2500072158;
$MAGIC2 = 3725722773;
Spencer
System Administrator
Bluehost.com
Thanks spencer. It's work!Originally Posted by spencer
I am having the same problem, but am not sure what is meant by replacing "$magic1" and "$magic2" with "$MAGIC1 = 2500072158" and "$MAGIC2 = 3725722773" as there is more than one instance of "$magic1" and "$magic2". Would someone be able to show how the troubled lines would be replaced in terms of a "before" and "after" or the like?
Much appreciated!
This is an old thread, and the solutions here won't cure the current problem. See this thread, instead.