Google search by region, in case your probable region should return as being Brazil then the results will be in Portuguese, so when you browse the results you are likely to only return the links with ?lang=pt-br
However you can search in Google in English, you will need to modify the settings like this:
ThenintheendlookforUnitedStates:
Andclicksave,thengobacktogoogle.compagewillappearthis:
Clickonthelink:English,readyallresultswillcomefromGoogleinEnglish,thenifthelinksareindexedcorrectlywillreturnwithcertaintythe?lang=en-us
Butitislikelythatthiswillonlyworkifalllinkscontain?lang=....
,incaseofcookiesIcannotsay,butIthinkitwillonlyindexthepreferred,asImentionedinthecomments.
Agoodlinkonthesubject(quotedby@Randrade)wouldbethis link , the link itself quotes:
Make sure that each version in another language can be easily discovered
Keep the content for each language in separate URLs. Do not use cookies to display translated versions of the page. Consider using cross-links for each version in another language on a page. Thus, a French user accessing the German version of your page can see the version in the right language with a single click.
In other words, links are better than just using cookies to check, so this is what will work:
-
http://site.com/pt-br
-
http://site.com/pt-br/foo
-
http://site.com/pt-br/bar
-
http://site.com/pt-br/foo/bar/baz
-
http://site.com/en-us
-
http://site.com/en-us/foo
-
http://site.com/en-us/bar
-
http://site.com/en-us/foo/bar/baz
Or this:
-
http://pt.site.com
-
http://pt.site.com/foo
-
http://pt.site.com/bar
-
http://pt.site.com/foo/bar/baz
-
http://en.site.com
-
http://en.site.com/foo
-
http://en.site.com/bar
-
http://en.site.com/foo/bar/baz