Get Started
SEO
Sep 19, 2025
Understanding the lang Attribute and Localization
The lang attribute is a crucial element for improving web accessibility and can be automatically set in Framer. On multilingual sites, hreflang tags also enhance SEO. This contributes to a better user experience and boosts search engine optimization.

Uploaded by

Translated by
Contents
Table of Contents
This document aims to ease the difficulties faced by domestic users learning Framer due to the lack of resources in Korean. It translates content from the official blog into Korean and adds practical information. We hope it is of some help to those using Framer.
Why the lang Attribute is Important
One of the key factors for improving web accessibility is the lang attribute. This attribute specifies the language of the content in HTML elements. By doing so, assistive technologies like screen readers can read the content more accurately. It's particularly important for users who need to consider multiple languages or communicate through translation tools.
To set the language of a website, go to site settings and add the site language attribute. This will automatically update the lang attribute across the entire website.
Setting the Site Language in Framer
In Framer, you don't need to modify HTML code separately. Once you set the site language, the lang attribute is automatically applied. Navigate through Settings > Site Settings > Site Language and choose a language, which will consistently update the lang attribute for the whole site.

Localization
Framer inherently supports Localization features. When creating a multilingual site, the lang attribute automatically switches according to the language.
Additionally, the hreflang tag is automatically added. This tag informs search engines in cases where pages with different languages duplicate. It helps Google understand the relationships between pages and enhances SEO globally.
Points to Note
The lang and hreflang tags are automatically managed and cannot be directly edited via the UI. Therefore, note that third-party translation services cannot modify these tags or the website's code.
This article is a translated and adapted content from Framer's official blog's ‘Language attribute’ section.




