Support » Plugin: Multisite Language Switcher » hreflang does not translate the slug of a content type

  • When I go to view the archive of a content type in a specific language, for example this one in Spanish:
    https://www.nutandme.com/blog/recetas
    I see that the hreflang doesn’t translate the slug, it always shows “recetas” in Spanish.

    If I go to see it in another language, for example in German, I see that “rezeptes” in German appears in all the hreflangs.
    https://www.nutandme.com/de/blog/rezeptes
    How can I make the hreflangs have the slug in the corresponding language?

    Cheers.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Dennis Ploetner

    (@realloc)

    What I see is

    <link rel="alternate" hreflang="de" href="https://www.nutandme.com/de/blog/rezeptes/" title="Nut&me Alemania" />
    <link rel="alternate" hreflang="es-ES" href="https://www.nutandme.com/blog/recetas/" title="Nut&me España" />
    <link rel="alternate" hreflang="es-PE" href="https://www.nutandme.com/pe/blog/recetas/" title="Nut&me Perú" />
    <link rel="alternate" hreflang="fr" href="https://www.nutandme.com/fr/blog/recettes/" title="Nut&me Francia" />
    <link rel="alternate" hreflang="pt" href="https://www.nutandme.com/pt/blog/receitas/" title="Nut&me Portugal" />

    Seems correct to me.

    Cheers,
    Dennis

    PS: In German you mean probably ‘Rezepte’ (singular is Rezept).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.