how开发者_JS百科 do you prepare i18n in your websites? I mean what do you do avoid the situation when you search for i18ned websites in Polish you get English description cause English is the default one.
Thanks in advance, Etam.
I give every language version it's own URL. So English version of an article would be avialiable under http://example.com/en/my-article, and a version in Polish under http://example.com/pl/my-article (or if you really care about SEO even under http://example.com/pl/moj-artykul).
Had I given all version the same URL (and switched content dynamically) Google would have indexed only one version, and users couldn't find the article using keywords from any other language. I also think having distinct URLs people can link to for every version is more user friendly.
精彩评论