Detect Spanish Language and Redirect

This script will detect a user's language preference and if it is set to Spanish it will redirect them to /es as a way to have separate pages for all Spanish translations and use a navigation toggle as well to manually allow users to control the language.
Tags
Share this item
Have feedback or a question related to this item? Drop us some feedback!
Curated:
1.11.21
Create canonical tags for Webflow native pagination
10.5.23
Download all Webflow Redirects as CSV
8.4.23
Automatically Track Webflow Sitemap Changes in Airtable
3.4.23
Get Website Meta Data w/ Airtable Script
1.10.23
Get YouTube Thumbnails w/ Airtable Script
12.22.22
Subscribe for updates
Get updates on the latest curated resources and be the first to hear of new features.
SubscribeStyle, type, and motion in harmony, architectural web glory, AI your brand
When AI becomes your copilot, make sure you still know how to fly the plane.
Featured inspo
Half the Sky
Rehtrew
Bleibtgleich
Refero Styles