Set your site’s language code

Updated

Set your site’s 2-letter language code.

Setting your site’s language code (also called an “ISO code”) allows you to declare the natural (human) language of your site so browsers, translation applications, and assistive technologies like screen readers can use that information for language-sensitive tasks. These tasks include applying appropriate fonts, selecting accents in text-to-speech applications, spell checking, translating web pages, and more.

How to set your site’s language code

You can use any supported 2-letter language code with Webflow. 

To set your site’s 2-letter language code: 

  1. Go to Site settings > General tab > Localization
  2. Type in your 2-letter code under Language code
  3. Click Save changes
  4. Publish your site
Important

The language code field in Site settings overrides any locale-specific language codes. If you’ve enabled multiple locales on your site, make sure the language code field in Site settings is empty.

How to set language codes for localized sites 

Webflow Localization automagically sets your site’s language code according to each locale. If you’ve enabled Localization on your site and previously set a site language code, you’ll need to remove the language code from Site settings: 

  1. Go to Site settings > General tab > Localization
  2. Delete the language code under Language code
  3. Click Save changes
  4. Publish your site

Learn more about language codes in Webflow Localization.