More

    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 remove category & tag base from WordPress URL

    Would you like to remove the category & tag base from WordPress URL? Do you need custom URL's? It's a super simple!...

    How to Disable Right Click on WordPress

    Are you worried about having your images stolen from your WordPress website? Then you need to know how to disable right click on...

    How to redirect HTTP to HTTPs in .htaccess

    Today's standard is to have an https certificate. Google will love you if your sites are secured. So https is not standard,...

    How to fix TypeError: $ is not a function in WordPress

    We can guess. You purchased a theme or plugin and a console shown a message "TypeError: $ is not a function"? Ok,...

    How to fix Unknown collation: ‘utf8mb4_unicode_520_ci’

    Unknown collation is probably caused because your local and live server are running different versions of MySQL. This problem mostly comes when...

    Related Stories

    Leave A Reply

    Please enter your comment!
    Please enter your name here

    Stay on op - Get the daily news in your inbox