Supporting Multiple Spanish Languages with one Culture

Anthony Baratta asked on January 28, 2015 17:50

Howdy...

We are putting together a multilingual site and are curious about cultures with the "same" language. For example, we might want to show all Spanish visitors the ES-MX culture. But if they are from Puerto Rico or Argentina, the browser language could be ES-PR or ES-AR. Since that's not ES-MX, won't that show in the default language instead of the one culture available in Spanish?

Or does Kentico go with a "best match"? Since it sees no ES-PR, it looks for an ES culture, finds ES-MX and shows that instead? And if we have both ES-SP and ES-MX activated?

I want to avoid having to fake translate for all the Spanish options when we really only have one Spanish translation.

Recent Answers


Olivier Cozette answered on February 3, 2015 04:00

You can use /es/ if you want, instead of /es-ES/ :

go to Configuration-> Localization -> Cultures, find "Spanish - Spain", edit it, and add "es" (without quotes) as Culture Alias. You're done.

0 votesVote for this answer Mark as a Correct answer

Anthony Baratta answered on February 10, 2015 08:31

And if someone comes to the site with a browser configured for es-MX or es-AR. What do they see: the default language or the "es" aliased culture?

0 votesVote for this answer Mark as a Correct answer

A. Karam answered on February 23, 2016 20:42

Anthony, it has been more than a year since your original post, but I just now came across it. Did you ever get this resolved? I'm in a similar situation. We have the ES-MX culture in Kentico, and we'd like to avoid having to add multiple cultures to account for all of the possible Spanish-oriented browser settings (i.e. ES-CL, ES-ES, etc).

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.