WebSite X5Help Center

 
Craig K.
Craig K.
User

Country dropdown  en

Autor: Craig K.
Visitado 550, Seguidores 1, Compartilhado 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?

Publicado em
5 RESPOSTAS - 1 CORRIGIR
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?

Ler mais
Publicado em de Esahc ..
Craig K.
Craig K.
User
Autor

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

Ler mais
Publicado em de 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. 

Ler mais
Publicado em de 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.

Ler mais
Publicado em de John S.
Craig K.
Craig K.
User
Autor
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.

Ler mais
Publicado em de Craig K.