Company
Date Published
Author
Bhavana Srinivas
Word count
1046
Language
English
Hacker News points
None

Summary

Netlify provides a clean and well-tested strategy for setting up multiple locales or domains, allowing users to see the version that makes most sense to them. This involves separating different locales into individual sites on Netlify and using country-based redirects at the edge to route users to the right site based on their location. By deploying locales as separate sites, teams can take advantage of several benefits, including a `.netlify.app` subdomain for easy access, contained builds per site/locale, and more control over the build/deploy workflow per site. The process also involves determining the user's location, adding rules to the Netlify edge for redirects and proxies, and managing language-specific localization within regions. Cornerstone OnDemand is a public company that uses this approach to manage 12 international properties with consistent branding across the web properties.