Troubleshooting: WordPress not Displaying Correct Language | Bluehost Support
  1. bluehost knowledge base

Troubleshooting: WordPress not Displaying Correct Language

If WordPress is not correctly displaying another language there needs to be a change to the WordPress code.
Open the file <WordPress_install>/wp-includes/gettext.php (where "WordPress_install" is the directory you choose to install WordPress to).

Find the following:

  •  // $MAGIC1 = (int)0x950412de; //bug in PHP 5
      $MAGIC1 = (int) - 1794895138;
      // $MAGIC2 = (int)0xde120495; //bug
      $MAGIC2 = (int) - 569244523;
    
Change it to:
  • // $MAGIC1 = (int)0x950412de; //bug in PHP 5
      $MAGIC1 = 2500072158;
      // $MAGIC2 = (int)0xde120495; //bug
      $MAGIC2 = 3725722773;