This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 5 replies, has 2 voices.

Last updated by Itamar 2 years, 2 months ago.

Assigned support staff: Itamar.

Author Posts
April 12, 2018 at 11:35 am #1606732

Martino

Hello there,
I've looked into the forum and I was able to find answers up until 2016.

I would like to know if there is a way to have a custom permalink structure for regular post that would be translatable.

The structure I'm looking for is:
- italian: domain.com/comunicazione/news/post-title
- english: domain.com/communication/news/post-title-en

Thanks,
m.

April 12, 2018 at 4:42 pm #1612132

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi.

Is it the /comunicazione/ part that you would like to translate into /communication/?
Are setting it in Settings -> Permalinks?
Please see attached screenshot.

Regards,
Itamar.

April 13, 2018 at 12:47 pm #1622221

Martino

Yes, that's exactly the string i'd like to translate.

April 16, 2018 at 9:59 am #1642732

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi.

I'm sorry, but no, this could not be translated.
This field is on the "excluded" list of options that are translatable.
It is probably because it is loaded too early to pass through our filters.

Here is a link to another forum ticket with the same issue.
https://wpml.org/forums/topic/how-to-translate-custom-text-added-to-permalink-basename/

Regards,
Itamar.

April 16, 2018 at 10:17 am #1642955

Martino

So, just to be sure, you are saying that as of now there is no way to accomplish a structure like this for post permalink:

ITA - domain.com/comunicazione/news/title-of-news-in-italian
EN - domain.com/communication/news/title-of-news-in-english
?

April 17, 2018 at 6:29 pm #1666111

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Not in the way that you are trying to do that.

If, for instance, 'comunicazione' would be a category or a custom post type then you could translate its slug.

https://wpml.org/documentation/beginners-guide-to-site-translation/translating-taxonomy/
https://wpml.org/documentation/getting-started-guide/translating-post-categories-and-custom-taxonomies/

The topic ‘[Closed] Custom permalink structure – is it still untranslatable?’ is closed to new replies.