Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [language]

For questions about handling multiple human languages

Filter by
Sorted by
Tagged with
132 votes
8 answers
40k views

How should I structure my URLs for both SEO and localization?

When I set up a site in multiple languages, how should I set up my URLs for search engines and usability? Let's say my site is www.example.com, and I'm translating into French and Spanish. What is ...
artlung's user avatar
  • 8,648
17 votes
1 answer
3k views

Same Arabic phrase encoding into two different urls, why? How to handle?

I have a multi-lingual site which two arabic phrases which to my eye (and to the Arabic speakers I've asked) looks the same, but they encode differently. إعادةصياغةالنصتلقائياباللغةالعربيةمجانا ...
Kevin Danikowski's user avatar
13 votes
2 answers
9k views

Why is a message showing in Google Analytics language column?

Today, I watched my website statistics, and I saw there a language called: <URL Redacted> You are invited! Enter only with this ticket URL. Copy it. Vote for Trump! I have seen on another ...
Jakub Kliský's user avatar
11 votes
3 answers
4k views

language+region value of the HTML5 lang attribute

I'm working on a website which will offer localized content following the language+region approach as described on this W3.org page (e.g. fr-CA for Canadian French content, and fr-FR for "French ...
Max's user avatar
  • 967
10 votes
2 answers
3k views

For SEO, should the path portion of the URL be localized?

I have a site that have localized content. I would like to know if it's really important to also translate the URL paths to access the content. For example: Today, I'm handling the URLS like these: ...
John John Pichler's user avatar
9 votes
1 answer
7k views

Alternative to .htaccess (due to bad performance)

I've been told that .htaccess should be avoided when possible, as it reduces the server performance and new servers disable it or just don't implement it any more. I don't know how true this is, but ...
Dane411's user avatar
  • 219
8 votes
1 answer
774 views

Difference between meta tags Content-Language and language

What's the difference between these two meta-tags <meta http-equiv="Content-Language" content="de, en"/> <meta name="language" content="de, en"> Are they both needed?
eric's user avatar
  • 293
8 votes
3 answers
12k views

Why would my website language be incorrectly detected, and how do I set it to the right language? [duplicate]

When I visit my personal website on my phone (chrome app), the page language is detected as 'Portuguese' and asks me if I want to translate it. However the page is in English and I have set the ...
Niahc's user avatar
  • 183
8 votes
3 answers
183 views

How does SEO work for "non standard" languages?

I couldn't find a better word than "non standard" to describe my native language. It is quite an old language and it is spoken by around seven million people. The problem is that most of the people ...
multigoodverse's user avatar
7 votes
2 answers
4k views

Is it better to have one website with two languages or two websites with different languages in terms of SEO?

I would like to know if in terms of SEO, is it better have one website with two languages or two websites with different languages? For example, I would like to have a website with the content in ...
user avatar
7 votes
2 answers
310 views

When selecting the language of a web page solely with content negotiation, will a search engine ever see different languages?

I've done a simple, small site which basically only consists of a single page. Simplicity and no clutter are very intentional here and (imho) work quite well for this from a UX standpoint. Now I'm ...
Joey's user avatar
  • 252
7 votes
2 answers
4k views

How to make sure Chinese text is rendered in webpage?

I'm making a webpage that's partly in Chinese. I use the UTF-8 encoding for all text. The page contains some parts that are in Chinese, mixed with western letters. The font I use for western text ...
PetaspeedBeaver's user avatar
6 votes
3 answers
1k views

Can a <link /> element's href attribute be relative?

Can I use: <link rel="alternate" hreflang="en" href="?l=en" /> to link pages with different languages for SEO (recommended for example by Google)? Can that URL be relative as in the example ...
PetaspeedBeaver's user avatar
6 votes
3 answers
9k views

How does Google determine duplicate content when it's translated into different languages?

I was wondering how duplicate content in another language works. Google requests that you use canonical links to determine duplicate content or duplicates of your pages to avoid duplicate content in ...
Liam Sorsby's user avatar
6 votes
2 answers
2k views

SEO impact of using non-Latin characters in URL

Is there a negative SEO impact if I use non-Latin characters in my URL? For example, suppose I want to have a page about sweets. I am targeting the keyword お菓子 which is in Japanese. Should I go for ...
ihimv's user avatar
  • 202
6 votes
2 answers
359 views

Privacy Policy for an english site that is located in france but is owned people in Italy

I'm really having some difficulties with the Privacy Policy for my site, the website in question is written in English but hosted in France, in additional to this the website is owned by people in ...
Filippo oretti's user avatar
6 votes
1 answer
2k views

Recommended approach for slug generation with multiple languages

I am building a website that will be available in multiple countries. Each country's content will be unique to that country, but each country's content will be offered in multiple languages, using the ...
BrynJ's user avatar
  • 161
6 votes
1 answer
3k views

Best practise for meta tags in various languages

We have a global site, all hosted on one .com domain (www.example.com/en www.example.com/es www.example.com/pt www.example.com/ru etc.) Each language sub directory is identical to one another, apart ...
Double Clicked's user avatar
5 votes
2 answers
530 views

Rel = translation

I can't find much online about rel="translation" We have tutorials and manual entries which we are going to get users to translate. If the original page in English is: http://www.scirra.com/...
Tom Gullen's user avatar
  • 2,390
5 votes
1 answer
373 views

Using hreflang to specify a catchall language

We have a site primarily targeted at the UK market, and are adding a US-market alternative. As per Google's recommendations: To indicate to Google that you want the German version of the page to ...
adam's user avatar
  • 784
5 votes
1 answer
934 views

Should we localize URLs for default language or not?

I have a website running in English and Japanese and the default language is Japanese. What are the advantages of one over the other solution: Solution 1. When accessing example.com, you will see ...
Thịnh Phạm's user avatar
5 votes
2 answers
3k views

What's the best way to determine users' preferred language?

In determining which language to display content in by default, there are, as far as I know, three basic methods: Examine the Accept headers sent by the browser. Use IP geolocation to determine the ...
Scott Severance's user avatar
5 votes
1 answer
278 views

I18n website and URL prefix iso639

I'm adding i18n to my website. For translated pages I add iso639 code of the language like this: http://example.com/en/mypage.php But I'm curious about language code. Should I use iso639-1 (en) or ...
trante's user avatar
  • 405
5 votes
1 answer
932 views

HTML Lang ISO Code

I have a multi-language site for English and Chinese (Hong Kong). My previous setting for Chinese Hong Kong (zh-hk) had: <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-hk" xml:lang="...
jsmoove88's user avatar
  • 173
4 votes
4 answers
4k views

SEO - Redirect on first page (example.com -> example.com/en)

I have website with multiple languages and at first entrance it checks for cookie and if no cookie is present then it defaults to English language and redirects to example.com/en. So basically every ...
sed's user avatar
  • 311
4 votes
1 answer
10k views

input type="file" default language is system language?

I have a question, let's say I have <input type="file" name="image" />. Will the text of the button will change if user will have different language as his system default one? If so than how can ...
sed's user avatar
  • 311
4 votes
1 answer
1k views

Am I violating AdSense TOS by allowing Google Translate widget to translate into unsupported languages?

DETAILS I want to use a Google Translate widget/plugin on my website. The website is written in English and has AdSense code embedded in it. The website is aimed at a global market, but because of ...
TryHarder's user avatar
  • 360
4 votes
2 answers
2k views

In Google Analytics, what is the differences between a two letter visitor language and the same code duplicated with a dash?

Wondering about my google analytics visitor languages. It shows de and de-de. Is there any difference between them, if yes what do they mean? Is there a possability to get them all together in one ...
Denny Mueller's user avatar
4 votes
1 answer
58 views

SEO impact of default language duplication vs redirects

On our public gatsby website we have two languages: nl and en. Our default language is en, so we have /..., /en/... and /nl/.... So for one piece of content we have the following links: https://www....
Batist's user avatar
  • 141
4 votes
2 answers
321 views

Duplicate titles being flagged are on pages with different languages

Google Search Console flags duplicate titles for the following pages on my site - they all have the title 'prodname' /de/products/georadar/prodname /es/products/georadar-gpr-radar-de-penetracion-...
abonae's user avatar
  • 41
4 votes
2 answers
93 views

SEO publishing non-English articles

I have a Slovak language websites and I would like to publish unique SEO articles, but all Slovak webs with PR2 and higher are paid for publishing. In this case I would like to try publish them on ...
Webputting's user avatar
4 votes
1 answer
170 views

How to stop Japanese characters displaying badly on Windows?

I'm making a site that targets English speakers, but due to the subject nature (general Japanese culture), it's becoming increasingly obvious that there'll be some chunks of Japanese text on at least ...
John Cave's user avatar
  • 288
4 votes
0 answers
879 views

Chrome says my website is Serbian...how do I "force" chrome to use english? [duplicate]

Possible Duplicate: How can I prevent Google mistakenly offering to translate a page? Our website is based in the U.S. and all of our users are in the U.S. and the site is written in english. ...
user avatar
3 votes
3 answers
202 views

How to make a website with another language but support to English Search Queries (Local Site)?

Note : Please note that I am not taking about multi language website. This website used only Sinhala language, but it possible to use English for all titles in the website. And target keywords are ...
I am the Most Stupid Person's user avatar
3 votes
2 answers
617 views

Why do some websites have language specific URLs, when the users still use the .com version?

I'm creating my first multilingual website and I have been looking at examples from other websites. So far I've noticed that many popular websites have a .com version and a kr.example.com or example....
Chris's user avatar
  • 31
3 votes
1 answer
81 views

French language comes up before English language site for site: search on English version of Google

Our homepage has two versions: https://www.construct.net/fr https://www.construct.net/en The first being in French, the second English. Both versions have been online for many weeks. Searching on ...
Tom Gullen's user avatar
  • 2,390
3 votes
2 answers
227 views

Serve index.html by language and charset (a thing from the past)

In a digital archaeology project I have found a web server directory with files dated from 2001 that had a peculiar collection of index.html files with names ending with two letter codes of different ...
Dima Chubarov's user avatar
3 votes
2 answers
77 views

How can a two language page (about learning a language) be optimized for search engines?

I know that there are lots of docs about multi-languages website, but still cannot find a solution for my problem: I'm building a website to help people to learn Italian. The site contains pages with ...
Alessandro De Simone's user avatar
3 votes
2 answers
2k views

Do all pages have to be added to XML Sitemaps?

I'm planning to add an XML Sitemap to a client's existing website. According to this, it will help define the difference between the root website (aimed at UK) and the US website (aimed at the United ...
Linda H's user avatar
  • 63
3 votes
2 answers
2k views

Patterns for creating a Language Switcher?

I'm a big fan of the book The Design Of Sites which has patterns for diverse things needed in webmastering and site design. However the topic about translation, localization and internationalization ...
hakre's user avatar
  • 460
3 votes
2 answers
57 views

Multilingual content and SEO - best practices?

Does having multilingual content help SEO in a given language? I was thinking of paying to have my blog translated into other languages - my website and app are only available in English right now, ...
Andrew Alexander's user avatar
3 votes
2 answers
4k views

Google Search is showing my website in Japanese instead of English

When my site is searched for in Google, it shows the website in Japanese (see the second link in the screenshot below), however the entire website is in English. Does anyone know why this might be?
Sourav Chakraborty's user avatar
3 votes
1 answer
291 views

Using productontology in Schema.org for another language?

I have a site that is in two languages, German and English. For each version of the site I am defining different schema.org markups. For example, the descriptions provided are in German or English ...
L84's user avatar
  • 2,016
3 votes
2 answers
3k views

Google Webmaster Tools incorrect rel-alternate-hreflang implementation warning message

I'm getting this warning message in Google Webmaster Tools: Incorrect rel-alternate-hreflang implementation In particular, there seems to be a problem with missing or incorrect bi-directional ...
Noam's user avatar
  • 2,008
3 votes
1 answer
111 views

Should I just ban everyone who has no language setting?

I am constantly seeing in my logs the same type of visitor: They have no language setting, i.e. $_SERVER['HTTP_ACCEPT_LANGUAGE'] == '' so it's empty, and their referrer is some scam server in Russia ...
Funnelcake's user avatar
3 votes
2 answers
2k views

Multi Language Website and Best Way for Auto Redirects

let's assume we have a domain example.com that contains content for two languages (e.g. German and English). The site itself is structured by folders, so the URLs for the language versions are: ...
user avatar
3 votes
1 answer
79 views

Should I add a language code in my HTML if I have just one language?

Should I do this? <!DOCTYPE html> <html lang=en_US> <head> Instead of my current code: <!DOCTYPE html> <html> <head> If I only use just one language (meaning: ...
Siyah's user avatar
  • 406
3 votes
1 answer
3k views

Should I put my locale query param in sitemap url?

I am currently generating my sitemap for my website, listing all pages generated by users (with pictures and datas). Those pages are publicly accessibles, and have content internationalized in french ...
PhilippeAuriach's user avatar
3 votes
1 answer
1k views

Multiple languages what to do with title tags alt tags etc

The title says it all: Multiple languages what to do with title tags alt tags etc. I found a similar questions but the answer was not exactly what I was hoping for. Situation: 1 WordPress ...
Jeff 's user avatar
  • 153
3 votes
1 answer
329 views

SEO & Multilingual: would be this a good practise?

I am currently making a bilingual website and I'd like to get nice SEO results of course. Here's my idea: The internal links would be composed of the "www" subdomain so that people can share links ...
younes0's user avatar
  • 135