WebSite X5Help Center

 
Craig K.
Craig K.
User

Country dropdown  en

Автор: Craig K.
Просмотрено 451, Подписчики 1, Размещенный 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?

Размещено
5 Ответы - 1 Корректно
Esahc ..
Esahc ..
Moderator

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?

Читать больше
Размещено От Esahc ..
Craig K.
Craig K.
User
Автор

Sometimes content must vary by country for legal, business or policy reasons, so language is not a substitute.

Читать больше
Размещено От Craig K.
John S.
John S.
User

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. 

Читать больше
Размещено От John S.
John S.
John S.
User

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.

Читать больше
Размещено От John S.
Craig K.
Craig K.
User
Автор
John S.
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. 

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.

Читать больше
Размещено От Craig K.