Mobile app version of vmapp.org
Login or Join
XinRu657

: Content language different to menu language and SEO I have built a website for a client following Google's multi-language website guide. It allows to create a project (tutorial) in a user specified

@XinRu657

Posted in: #Internationalization #Multilingual #Seo

I have built a website for a client following Google's multi-language website guide.

It allows to create a project (tutorial) in a user specified language. Depending on the project language the URL changes accordingly:

For English (no /en within URL)
example.com/project/33/my-own-trax

For Spanish (/es added to URL)
example.com/es/proyecto/31/mastines-de-nurgle

If you switch from project in English to Spanish menu's also change to keep the page in one language.

On the home page I display all projects in all languages:
example.com/

However, I find it a bit problematic for a user when menu's are switching languages when going from one project in English to Spanish to German and so on.

I would like to keep the menu in a visitor's language (let's say English) even though it is browsing a tutorial in french so it can easily navigate it.

Will I get penalized by Googlebot, if I apply this change?

If so, is there any way to avoid it but apply suggested change?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @XinRu657

2 Comments

Sorted by latest first Latest Oldest Best

 

@LarsenBagley505

Take a look at this:



What I have done here is create three separate welcome pages with a common header at the top and only one language highlighted. The languages can be clickable to switch between each. I apologize if my french and spanish in each page is inaccurate. The buttons could point to the following URLs respectively:
example.com/en/home http://example.com/fr/home example.com/es/home

The reason why I use english words after every language is because it will be easier to manage later down the road, plus the odds of someone manually typing in a URL will be low.

Let's start with the english home page by adding content then links to a project page and a contact page, my available links would be:
example.com/en/home http://example.com/fr/home example.com/es/home http://example.com/en/projects example.com/en/contact

Now if we do a page for french in a similar way, the links on that page would be:
example.com/en/home http://example.com/fr/home example.com/es/home http://example.com/fr/projects example.com/fr/contact

And for the spanish page:
example.com/en/home http://example.com/fr/home example.com/es/home http://example.com/es/projects example.com/es/contact

Notice how in all above cases, I only changed the language code in the last two links? This is because on each page, the links people click on will need to be in the same language except for when they click the language button.

Also with the way I designed the links, there should be no duplicate content issues. unless you make two language pages the same. For example, you made a french home page the english home page instead.

If static links are insufficient for language switching for you, then you could implement cookies to keep states. This works well if you use a server-side language such as PHP.

If you'd rather have the language button jump to the last page visited in the previous language used, then you may need a server side language to set a cookie to match the current page visited then when the user selects another language, they are taken to a special page that reads the cookie then loads the correct page in the correct language.

10% popularity Vote Up Vote Down


 

@Heady270

You should only ever show Googlebot pages in a single language. New users from Google search should also only see a single language on the landing page. Google asks that you not mix languages in a single page:


Avoid mixing languages on each page, as this may confuse Googlebot as well as your users. Keep navigation and content in the same language on each page.


If a user has set a language preference with you and you feel they would be served by showing menus in that language when the content is not available in that language, that shouldn't be a problem. Just make sure that bots and new users don't fall into this category.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme