Skip Navigation

[Resolved] Can custom post slugs be translated?

This support ticket is created 2 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 4 replies, has 2 voices.

Last updated by rafaelM-3 2 years, 11 months ago.

Author
Posts
#2593475

Good morning,

Can custom post slugs be translated?

Thanks.

Regards.

#2593545

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

You have a multilingual site and you want the same post type to use different slugs in different languages?

You can do that if you are using a multilingual plugin, e.g. WPML.

(If you have a site that is a single language, e.g. Spanish, and you want the post type slugs to be Spanish—e.g. libro—then you would simply use that slug when you register the post type. You cannot use Types to change the slug of post types registered with other plugins.)

#2593557

Hi,

Yes, I have the WPML plugin installed. With it I have translated custom fields of the custom post without problems but I don't know when or how I can translate the slug of the custom post itself. Can you help me?

Thank you.

Regards.

#2593565

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Sure, translating the slug of the post type is described in this WPML documentation page: https://wpml.org/documentation/getting-started-guide/translating-page-slugs/

Check that and if you still have problems let us know, but in future if you have questions about translating I suggest you open a ticket in the WPML forum.

#2593571

As it was translating a custom post created with toolset, I thought that the configuration would be inside toolset.

My issue is resolved now. Thank you!