Country dropdown
Author: Craig K.
Visited 566,
Followers 1,
Shared 0
While I see Website X5 has various ways of allowing users to select the language, I don't see the possibility of selecting a country? I want website content to be different for each country. How can this be done?
Posted on the
WX5 does not include this feature, I guess it's because in my country they speak many languages.
A better option to request may be content based on Web Browser language?
Author
Sometimes content must vary by country for legal, business or policy reasons, so language is not a substitute.
Hello C7
You could make a dropdown where users could select from a country-code.
You could make a total list or only for selected countries.
You could maybe use some code to determine the users country :
var country_code = null; $.getJSON('http://ipinfo.io/' + userip, function(data){ country_code = data.country; alert(country_code); });
Then you could pre-fill the dropdown.
For each country ( or collection of countries ) you intend to have, you make a subfolder and then a project in each subfolder that contains the content for the country/countries it is designed for.
From the dropdown you direct the user to the actual subfolder with the content for that country.
If it was something different you meant, then please some more explanation.
Instead of the dropdown, you could make a "menu" where users could select a country.
Look here : http://eksempelsite.dk/sparta02/
Imagine that the text was country instead of language.
Author
Okay good, so it is possible with Website x5. I think the first suggestion you make is the easiest.
I've noticed some website builders have a listed of languages and you cannot alter this, you are forced to select a language on the list.