Navigation überspringen

Dieses Thema ist gelöst. Hier finden Sie eine Beschreibung des Problems und der Lösung.

Problem:
The client wants to translate the slugs for a product from German to English, but the translated slug does not appear as expected. Instead of translating to 'product', it remains 'produkt'.
Solution:
We recommend creating a parent category with the same slug and assigning it to the products. After setting the custom permalink structure to the product category, you can translate the category slug in WPML > Taxonomy Translation. For more details, check this forum post.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If this does not resolve your issue, please open a new support ticket.

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Schlagwörter: 

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Lucas Vidal de Andrade Vor 5 Monaten, 1 Woche.

Assistiert von: Lucas Vidal de Andrade.

Verfasser Beiträge
Juni 19, 2024 unter 12:55 pm #15755558

christophS-35

Hintergrund des Themas:
I want to translate the slugs from a product from German to English on this page: german: versteckter Link and english should be: versteckter Link

Die Symptome:
The translated slug appears as versteckter Link instead of the expected versteckter Link

Fragen:
Why is the product slug translation not working as expected?
How can I correctly translate the product slugs from German to English?

Juni 19, 2024 unter 7:54 pm #15758504

Lucas Vidal de Andrade
Supporter

Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português )

Zeitzone: America/Sao_Paulo (GMT-03:00)

Hey there,
Thanks for contacting WPML support.

Unfortunately, it is not possible to translate the custom strings added manually to the custom structure permalink.

As a workaround, you can create a parent category with the same slug and assign it to the products.

After you set the custom permalink structure as product category, you'll be able to translate the category slug in WPML > Taxonomy Translation.

Kindly check the following reply on another ticket for more details: https://wpml.org/forums/topic/translating-default-posts-slug/#post-13914677

Kind regards,

Juni 22, 2024 unter 8:32 am #15783689

christophS-35

Hmm ok i am woundering why its not possible and in permalinks u see the translation icons.

Juni 24, 2024 unter 1:30 pm #15807645

Lucas Vidal de Andrade
Supporter

Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português )

Zeitzone: America/Sao_Paulo (GMT-03:00)

The flag button is automatically added to those fields. It shouldn't indeed be there. I'll forward that to our development team, so we can fix that asap. Thank you.