This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

WordPress not correctly displaying languages

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;
Knowledgebase Article 147,909 views bookmark tags: language wordpress


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to Set different character sets with PHP and HTML to display correctly.
Knowledgebase Article 152,968 views tags: arabic character chinese collation japanese language languages mysql php phpmyadmin sets

Instructions to set different character sets in HTML. Note: Not all character sets will be correctly rendered with this encoding format, but most will. You can find specific information about which ch
Knowledgebase Article 155,174 views tags: arabic change character chinese html japanese language languages sets

Why don't my images display on my site?
Knowledgebase Article 201,791 views tags: display image images link site website

Related Help Content

If you have a WordPress blog hosted on WordPress.com, you can easily export it and import it to WordPress that is installed on your hosting account with justhost. Login to the WordPress Data
Getting Started Article 623,315 views tags: blog export file import wordpress

This article will explain how to change the Site URL or Home URL setting in WordPress. This may be useful if you have moved your WordPress site or are planning to move your WordPress site.
Knowledgebase Article 204,514 views tags: home site url wordpress wordpresstools

This article will explain how to login to a WordPress site using WordPress tools.
Knowledgebase Article 143,158 views tags: login wordpress wordpresstools

Learn how to use WordPress, WordPress started as just a blogging system, but has evolved to be used as full content management system and so much more through the thousands of plugins, widgets, and themes now available.
Knowledgebase Article 895,282 views tags: blog buildersonline website wordpress

There’s a wide variety of themes available within the WordPress community, and we have taken extra steps to vet our themes for high quality.
Knowledgebase Article 53,167 views tags: Marketplace certified install premium setup themes wordpress

How to Migrate a self hosted copy of WordPress
Knowledgebase Article 688,892 views tags: migrate wordpress

Install Themes These steps will help you install and select a WordPress theme for your blog. Inside the WordPress Dashboard, select the Add New Themes link in the Appearance Menu. You can search for
Getting Started Article 712,704 views tags: install link theme themes wordpress

This article will explain how to change your WordPress Urls
Video "How-to" Tutorial 255,610 views tags: login temp troubleshooting urls wordpress

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.