The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Alternate language, In real life
Dag
post Nov 6 2018, 08:27 AM
Post #1


Advanced Member
****

Group: Members
Posts: 107
Joined: 24-October 06
Member No.: 549



https://support.google.com/webmasters/answe...thod-guidelines
QUOTE

Common Mistakes
Missing return links: If page X links to page Y, page Y must link back to page X ...


What does it exactly mean? If I have 2 pages, lang1 and lang2, one of them must be MAIN page... so, if I refer that page from the lang2 page, I have to write "Alternate" but alternate means alternate, not main. Any thoughts about this issue?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Nov 7 2018, 04:06 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE(Dag @ Nov 6 2018, 05:27 AM) *
If I have 2 pages, lang1 and lang2, one of them must be MAIN page... so, if I refer that page from the lang2 page, I have to write "Alternate" but alternate means alternate, not main. Any thoughts about this issue?
Why must either be labeled "main" or "alternate"? Why not just label them "lang1" and "lang2"?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 7 2018, 07:22 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



I think you misunderstand. They are all alternate. And all language versions should link to all other versions. That's how I understand it.

Add <link rel="alternate" hreflang="lang_code"... > elements to your page header to tell Google all of the language and region variants of a page. This is useful if you don't have a sitemap or the ability to specify HTTP response headers for your site.

Each variation of the page should include a set of <link> elements in the <head> element, one link for each page variant including itself. The set of links is identical for every version of the page.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Dag
post Nov 8 2018, 02:40 AM
Post #4


Advanced Member
****

Group: Members
Posts: 107
Joined: 24-October 06
Member No.: 549



QUOTE(Darin McGrew @ Nov 8 2018, 01:06 AM) *

QUOTE(Dag @ Nov 6 2018, 05:27 AM) *
If I have 2 pages, lang1 and lang2, one of them must be MAIN page... so, if I refer that page from the lang2 page, I have to write "Alternate" but alternate means alternate, not main. Any thoughts about this issue?
Why must either be labeled "main" or "alternate"? Why not just label them "lang1" and "lang2"?


I didn't try that way... we are talking about META tags(?).. Have you read google page?
<link rel="alternate" hreflang="es" href="webpage.html">

But, Lang1, Lang2, Lang3... would be more correct...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Dag
post Nov 8 2018, 02:49 AM
Post #5


Advanced Member
****

Group: Members
Posts: 107
Joined: 24-October 06
Member No.: 549



QUOTE(pandy @ Nov 8 2018, 04:22 AM) *

I think you misunderstand. They are all alternate. And all language versions should link to all other versions. That's how I understand it.

Add <link rel="alternate" hreflang="lang_code"... > elements to your page header to tell Google all of the language and region variants of a page. This is useful if you don't have a sitemap or the ability to specify HTTP response headers for your site.

Each variation of the page should include a set of <link> elements in the <head> element, one link for each page variant including itself. The set of links is identical for every version of the page.



Pandy, you just repeated all that I already read and understood.
Their approach is clear enough, I am talking about multilingua-site-concept. Simple, from my experience, you need to have MAIN language (base language). Everything else IS alternate. Even in sitemap, u can chose priority.

Issue here is that they are taking in account commercial project only (and always)... means, u are international company, u r selling tickets and, in GB - u r GB pages, in DE -- your pages are in DE language etc etc... all of them are alternate (in that case) -- huge multinational corporate ideas... but, in the world of literature, politics etc... projects, IMHO, you need to have MAIN language (or, as Daring wrote, Lang 1. But that Lang1 should always be the same, exactly as Lang2 etc...)

This Forum Form Buttons
I'd like to see some button-projected action when I click the button 'Submit Post' here... some animation or simulation or any event on click (or focus or hover). Nothing here sad.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Nov 8 2018, 01:06 PM
Post #6


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



There are two separate concepts. One is the concept of how you develop the content for multiple languages. In that sense, you may have a main or primary language, and various alternate languages that are translated from the main or primary language.

The other is the concept that your web server provides multiple versions of a given HTML document, each in a different language. In that sense, all the different languages are alternates of each other. The <link rel="alternate" hreflang="..."> tags are the same for all the languages you support. The language that you develop in first (as your main or primary language) doesn't matter.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 8 2018, 01:16 PM
Post #7


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



QUOTE(Dag @ Nov 8 2018, 08:40 AM) *

QUOTE(Darin McGrew @ Nov 8 2018, 01:06 AM) *

QUOTE(Dag @ Nov 6 2018, 05:27 AM) *
If I have 2 pages, lang1 and lang2, one of them must be MAIN page... so, if I refer that page from the lang2 page, I have to write "Alternate" but alternate means alternate, not main. Any thoughts about this issue?
Why must either be labeled "main" or "alternate"? Why not just label them "lang1" and "lang2"?


I didn't try that way... we are talking about META tags(?).. Have you read google page?
<link rel="alternate" hreflang="es" href="webpage.html">

But, Lang1, Lang2, Lang3... would be more correct...



No. I'm talking about LINK where you use the alternate attribute. The say you should have an LINK element for each page and that the same set should be used on all pages. If this isn't what your refer to with alternate, I don't know what it is.

And I'm also talking about real links on the page.

If I read the page? I'm quoting from it.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 8 2018, 01:20 PM
Post #8


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



QUOTE(Dag @ Nov 8 2018, 08:49 AM) *


Pandy, you just repeated all that I already read and understood.
Their approach is clear enough, I am talking about multilingua-site-concept. Simple, from my experience, you need to have MAIN language (base language). Everything else IS alternate. Even in sitemap, u can chose priority.


So are they, I believe. You asked about alternate and referred to that google page and the requirements there. The only place they talk about alternate is with the LINK tags.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 06:09 AM