How Can I Change HTML Language in WordPress

by | Dec 2, 2013 | 4 comments

How Can I Change HTML Language in WordPress? If you go to your WordPress website page source you will see the default settings is <htmllang=”en-US” >. See below.

default html language wordpress

To change this default language setting go to Admin>Settings>General and change the Site Language from English (US) to English (UK), as below, and then click Save Changes.

set wordpress language in admin general settings

 

4 Comments

  1. Morshed Alam Suman

    This is the easiest way. But if I change language this way, it changes the language of dashboard too.
    Is there any way to change html lang attribute value without changing dashboard language. I want to keep them in English.

    Thank you.

    Reply
  2. Yvette Boye

    Thanks for sharing. Changed from English to Norwegian. The change came at once. Perfect!

    Reply
  3. Pierre-Yves Mathys

    Hi,

    How can I add a language not listed in the combobox ?
    I want to set it to “fr_CH” but in the combo I can found Franch for Belgium and french for Canada, or German for Switzerland, but I cannot found french for Switzerland
    And if I change the lang value in the wpconfig the dashboard is set to english – which is a problem for my customers who access to it

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

elan creative

We’re like the in-house website design and support team you always dreamed of, able to tell your story like nobody else, and focus on your bottom line along with you….

Elan Creative
hello@elancreative.studio

freelance-website-designer s

QUOTE

Get a free quote for your website design project:

Privacy Overview
Elan Creative webdesign Haarlem

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.