Language attribute
Learn how to set the language attribute for accessibility and localization.
FAQ
How do I set the language for my Framer website?
To set your website’s language, navigate to the site settings and add the Site Language attribute. This will automatically update the lang attribute across your website.
Does Framer handle localization and language tags automatically?
Yes, with the built-in localization feature, the lang attribute switches automatically to match your selected locale. Additionally, Framer adds an hreflang tag to indicate when a page is a duplicate in another language, helping Google understand relationships between pages and potentially enhancing international SEO.
Can I manually edit the lang or hreflang tags in Framer or use third-party translation services to change them?
Both the lang and hreflang tags are managed automatically in the backend and are not editable via the UI. As a result, third-party translation services cannot modify them or the website’s source code.
Updated
