Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

gyop on "[Plugin: Polylang] Translating Custom Post Type & Taxonomy Slugs"

$
0
0

Hello,

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?

Thank you!

My WordPress and Polylang settings:

---
WordPress: v3.5.1
Permalinks structure: Post name
Polylang: v1.0.2
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
---

http://wordpress.org/extend/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>