How to Change Default Language in WordPress WooCommerce

As many people already know, WooCommerce is a WordPress plugin used by developers for building e-commerce platforms. It comes with a lot of benefits which helps in setting up e-commerce stores. However, despite its many benefits, many people have a hard time changing the default language.

The default language in WooCommerce is English Language, so if the content of your website is in another language, you’ll need to change the default language to the language of your choice. And this is the area where most people get stuck. In this article, we will provide you instructions on how you can easily change the default language in WooCommerce.

WordPress WooCommerce How to Change Language

The following steps are to be taken if you want to change the default language in WooCommerce:
  • Step 1: Enter language code in wp-config.php to set WordPress language. To do this, enter define (‘WPLANG’, ‘da_DK’);
  • Step 2: The next thing you’ll need to do is to create a new directory in ‘wp-content’ directory, name this new directory ‘languages’.
  • Step 3: Visit http://translate.wordpress.org/, and choose your preferred language code. After selecting your preferred language code, you’ll be redirected to a new page where you’ll need to select the appropriate WordPress version from a list of options.
  • Step 4: After completing the above step, an option for download will come up. Scroll down until you see a file with the name “.mo”. Select the file, and click on “Export”. After clicking on “Export”, the download of the “.mo” file will commence. After the download is completed, convert filename to language code, then move the “.mo” file to the new directory created in step 2 which should be “wp-content/languages/”.
  • Step 5: Visit http://github.com/woocommerce/woocommerce-language-packs for WooCommerce translation packages. Choose the right translation pack and extract it from the zip folder.
  • Step 6: On your screen, navigate to WordPress admin panel > settings > general, then select the new default language of your choice.
By following the the above steps, you’ll be able to successfully change the default language in WordPress WooCommerce.

Recent Articles

How to Bulk Delete Media in WordPress

WordPress and media. That's the topic for a book. Sometimes is not easy to find what you need and when you have...

Custom Order Number for WooCommerce Will Saves You a Lot of Hassle!

WordPress is still the king of Content Management Systems (CMS). Thanks to its open-source nature, millions upon millions of users and PHP...

How to Manually Sort WooCommerce Products

WooCommerce is an e-commerce plugin for WordPress. It is a great way for the user to create an online store for their...

How to Delete All WooCommerce Products

Remove all WooCommerce products is a good thing, especially when you have got thousands of products and need to make your site...

How to bulk delete WordPress comments in PHPMyAdmin

Any user working on the computer system has the option in quickly deleting all the WordPress comments by using MySQL or phpMyAdmin....

Get in touch

Be our first-class reader, build a community and follow us on social media!

Leave A Reply

Please enter your comment!
Please enter your name here