Language Subdomains

Optimizing for SEO. For example: en.yourwebsite.com or es.yourwebsite.com

Language subdomains enable you to promote your business using one domain name with the logical structure for visitors in their native language. For example, Yahoo for visitors in France: https://fr.yahoo.com/ and Yahoo for visitors in Hong Kong: https://hk.yahoo.com/

Additionally, using language subdomains to structure your multilingual site is recommended for optimizing SEO. We recommend setting up language subdomains for your website to optimize your website for search engines and to ensure that the translated versions of your website are appropriately indexed.

autodetectLanguage

The autodetectLanguage option is set to true by default.

If you do NOT want to auto-detect the language, you must explicitly set this option to false in your initialization call to Localize.

How to Use

Our subdomain language detection works "out of the box". What that means is if you have correctly configured DNS for a top level subdomain like "fr.localizejs.com", and the language "fr" is active in your project, the page will get translated to "fr" when visiting the page.

(see also Language Subdirectories)

Language Subdomains


Optimizing for SEO. For example: en.yourwebsite.com or es.yourwebsite.com

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.