0

I have a multi-language site. Each language has its own language specific url with the HTML lang attribute set to match the language the content is written in.

Do I need to use schema that matches the HTML lang attribute?

For example, if the pages lang attribute is set to ru and the content is written in Russian, but the schema is written in English, will a search bot care o?

4
  • Does each language have its own unique URLs? Do you detect a user's language and change content or redirect based on that? Commented Mar 30, 2024 at 22:51
  • Yes. Neither, I use the default browser language and have a language menu to override the browser. Commented Apr 1, 2024 at 1:31
  • So, the one URL dynamically determines what content is included. Ideally, the structured data should also dynamically use the same language. Note that this is not a good structure for SEO. e.g. Googlebot visits from the US with a US English browser, so that is the only language it will ever see. Your overrides may give Google a chance if they contain URLs with a language part. Commented Apr 1, 2024 at 23:32
  • @TonyMcCreath No, each language has its own url with a lang attribute that matches the contents language. I don't understand the rest of your comment. My question is, does a search bot care what language the schema is when the page is indexed? How will SERP schema written in English translate to SERP in different country? Basically, do I need to use schema that matches the lang attribute? For example, are there Russian and English search bots? Commented Apr 2, 2024 at 9:16

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.