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:
    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.
    How can I make the hreflangs have the slug in the corresponding language?


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

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


    What I see is

    <link rel="alternate" hreflang="de" href="" title="Nut&me Alemania" />
    <link rel="alternate" hreflang="es-ES" href="" title="Nut&me España" />
    <link rel="alternate" hreflang="es-PE" href="" title="Nut&me Perú" />
    <link rel="alternate" hreflang="fr" href="" title="Nut&me Francia" />
    <link rel="alternate" hreflang="pt" href="" title="Nut&me Portugal" />

    Seems correct to me.


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

Viewing 1 replies (of 1 total)
  • The topic ‘hreflang does not translate the slug of a content type’ is closed to new replies.