Setting up a Landing Page for multi-language browser detection


#1

I have to setup a landing page for multilanguages. Example: people from Brazil must access the page in portuguese when they type my “company.com” domain but people from Canada must access the page in English typing the same “company.com” domain. I don’t mind if they are going to be re-directed to a “company.com/eng” domain. I just need to learn what is the best solution to do it using Unbounce. Thanks!


#2

Hi Guilherme,

I looked into this a bit and it turns out there’s no reliable, cross-browser compatible method of determining the user’s language with JavaScript.

For some background, see: http://stackoverflow.com/questions/10…

Instead, I’d recommend the more usual method of having either some small flag icons that users can click to be taken to a version of the page in another language, or possibly a dropdown.

Alternatively, if you’re driving SEO traffic to your landing pages, you could geographically target separate ads for each country. For example, an ad targeting Brazil might have a destination URL of http://sub.yourdomain.com/pt and one targeting Canada might be http://sub.yourdomain.com/en

Hope that helps! If anyone in the community has thoughts on this, please chime in!


#3

Thanks a lot. Is there any SEO advantadge on doing that alternative suggestion but using only the sub domains to indentify the language and without the complement after the “.com”? Example: pt.company.com/(nothing related to the language here)

Thanks once again.