You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Ofer,
According to this page: https://developers.google.com/search/docs/specialty/international/localized-versions and other things I'm seeing, the hreflang tag should also exist for the current page and not only for the OTHER language versions. So with 3, languages: nl, en, vi for example, every page that is translated (let's assume all of them) should have 3 hreflang tags.
Apparently it was Google that invented the hreflang tag in 2011, so I'll assume that they are the ones to establish the correct practice. Consequently, it would appear that the Transposh implementation is incomplete or in error on this point.
There is also the idea of the "x-default" hreflang tag. Its inclusion appears to be optional, and its purpose is a bit more subtle (and confusing), but it seems like there should be an option to create it.
Thanks
The text was updated successfully, but these errors were encountered:
// } <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< comment out
}
}
`
Basically just commenting out the if statement checking to see if it's the "active" page and including it instead of excluding it. If we want to change the way it functions to ALWAYS include the "self" hreflang tag it's pretty straightforward. If it needs to be optional (which makes sense for backwards compatibility with how Transposh has always functioned) then, of course it's a bit more effort to make it a parameter.
Hello Ofer,
According to this page: https://developers.google.com/search/docs/specialty/international/localized-versions and other things I'm seeing, the hreflang tag should also exist for the current page and not only for the OTHER language versions. So with 3, languages: nl, en, vi for example, every page that is translated (let's assume all of them) should have 3 hreflang tags.
Apparently it was Google that invented the hreflang tag in 2011, so I'll assume that they are the ones to establish the correct practice. Consequently, it would appear that the Transposh implementation is incomplete or in error on this point.
There is also the idea of the "x-default" hreflang tag. Its inclusion appears to be optional, and its purpose is a bit more subtle (and confusing), but it seems like there should be an option to create it.
Thanks
The text was updated successfully, but these errors were encountered: