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 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....

Removing unwanted p and br tags from WordPress

When working with HTML, you sometimes don’t like your HTML editors because of the irritating automatic bugs. Yes, we are here with...

The 7 Best WordPress Plugins For Google Analytics 2020

As the saying goes, "what is not measured, is not managed." After setting up a WordPress website, it’s important to see what’s...

How to hide all WordPress update notifications in dashboard

When working on a project, it can be frustrating to have to deal with all the update notifications that are in the...

How to add custom HTML to wp_nav_menu

WordPress has a lot of features that help us solve almost all daily tasks of any programmer or web developer. Due to...

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