Closed Thread
Results 1 to 6 of 6

Thread: WordPress localization problem

  1. #1
    Join Date
    Mar 2006
    Posts
    1

    Default WordPress localization 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...

  2. #2
    Join Date
    Mar 2006
    Posts
    3

    Default

    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.

  3. #3
    Join Date
    Jul 2006
    Posts
    3

    Default

    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

  4. #4
    Join Date
    Aug 2006
    Posts
    6

    Default

    Quote Originally Posted by spencer
    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;
    Thanks spencer. It's work!

  5. #5
    Join Date
    Jan 2008
    Posts
    1

    Default Localisation not working

    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!

  6. #6
    Early Out's Avatar
    Early Out is offline Former Moderator, Still Respected
    Join Date
    Mar 2006
    Location
    Sector R
    Posts
    4,650

    Default

    Quote Originally Posted by djmcdonald View Post
    I am having the same problem, but am not sure what is meant by ....
    This is an old thread, and the solutions here won't cure the current problem. See this thread, instead.

Closed Thread

Similar Threads

  1. Help in WordPress
    By Aishabbb in forum Advanced Scripting, and Coding help!
    Replies: 4
    Last Post: 08-15-2007, 10:40 PM
  2. Error 500 after wordpress installation
    By gislih in forum General Questions
    Replies: 18
    Last Post: 10-03-2006, 02:08 AM
  3. Security patch for WordPress
    By redsox9 in forum Advanced Scripting, and Coding help!
    Replies: 4
    Last Post: 03-29-2006, 01:10 AM
  4. Batch upload through WordPress?
    By redsox9 in forum Advanced Scripting, and Coding help!
    Replies: 2
    Last Post: 03-13-2006, 06:20 AM
  5. Squirrelmail Problem - Multiple recipient failure
    By alexstj in forum General Questions
    Replies: 1
    Last Post: 02-15-2006, 12:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts