Domain Clarification
Opened this issue · 0 comments
adamjgrant commented
Kind of confused by the documentation...
"This settings should be a dictionary mapping language codes to two-element tuples, where the first element is the domain for that language,"
Does the "domain for that language" mean the locale code?
"and the second element is the name of the site this represents."
You mean the domain that will require that locale?
Example:
MULTILANG_LANGUAGE_DOMAINS = {
'en': ('www.example-en.com', 'English Site'),
'fr': ('www.example-fr.com', 'French Site')
}
I know those are just example domains, but surely there is a way to capture domains both with and without the "www"? Especially when I have stage.example.com as well.
have tried just listing both, but I find it just prefers the second one.
'fr': ('example-fr.com', 'French Site')
'fr': ('www.example-fr.com', 'French Site')
In this case, only www works.