First of all thanks for this great plugin, it looks great so far!
I have a question though: how can I translate custom post types and taxonomy slugs, so that they are displayed correctly in the URL?
For example, standard ‘posts’ have ‘category’ and the URLs are in the form website.com/category/english-cat, website.com/it/category/italian-cat. However it seems not possible to do website.com/it/categoria/italian-cat.
The same is true for custom post types and taxonomies, where website.com/cars/used works but not website.com/automobili/usate.
website.com/it/cars/usate works as expected but it’s weird to mix languages in the URL.
Perhaps I’m doing something wrong? Or maybe this can be fixed with some rewrite-rules?
My WordPress and Polylang settings:
Permalinks structure: Post name
2 languages: English, Italian
Default language: English
Language code ‘/en/’ added to all urls
Remove ‘/language/’ in pretty permalinks
Hide URL language information for default language
Activate languages and translations for media
Synchronization, Custom post types, Custom taxonomies: Everything checked
- The topic ‘Translating Custom Post Type & Taxonomy Slugs’ is closed to new replies.