Crimson uses a simple set of inputs to define what languages exist and what URLs they map to.
What it does Locales tells Crimson which languages you offer and which flags to display. You enter a comma-separated list in the format:
language-country
Examples
en-GB → English with UK flag
en-GB
en-US → English with US flag
en-US
hi-IN → Hindi (India)
hi-IN
es-ES → Spanish (Spain)
es-ES
How to fill it (recommended)
Use commas
Avoid extra spaces (keep it clean)
Choose country codes that match the audience you want to represent via the flag
What it does Main Locale tells Crimson which language is the default language of your site.
What to enter
A two-letter language code like:
en for English
en
hi for Hindi
hi
What it does This is the root URL for your default language site, like:
https://www.example.com
Critical rule Crimson warns: do not add a trailing slash at the end of the Main Locale URL.
✅ Good:
https://example.com
❌ Avoid:
https://example.com/
This setting is moved to Code Injection. Please visit Code Injection and Code Injection Variables for setting this.
What it does If enabled, Crimson checks the visitor’s browser language and automatically sends them to the matching language site (if available).
Example behavior If you offer en, hi, es, and the visitor’s browser prefers Spanish:
es
they may be redirected to https://yourdomain.com/es
https://yourdomain.com/es
If you leave it OFF
everyone lands on your default language first
visitors can switch manually using the language selector
Last updated 11 days ago