Closed (fixed)
Project:
Internationalization contributions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 May 2013 at 12:00 UTC
Updated:
24 Jul 2013 at 08:21 UTC
From Google Documentation:
If you have multiple language versions of a URL, each language page in the set must use rel="alternate" hreflang="x" to identify all language versions including itself. For example, if your site provides content in French, English, and Spanish, the Spanish version must include a rel="alternate" hreflang="x" link for itself in addition to links to the French and English versions. Similarly the English and French versions must each include the same references to the French, English, and Spanish versions.
In i18n_hreflang_init() ... unset($translations[i18n_langcode()]); should comment it.
Comments
Comment #1
Cyclodex commentedThat's true, I will update the code related to that.
Comment #2
Cyclodex commentedI fixed this in this commit.
Please test and review. (use development release)
Comment #3
jose reyero commentedOk, then I guess this is fixed.
Comment #4
Cyclodex commentedYes, I just wanted to wait for someone verifying it... :)