babble
babble copied to clipboard
Deal with post type slugs which are the same across multiple languages
For example, if you have a post type called "media" and the languages on your site are English and French, the singular of "media" is the same in French and English. You therefore need the system to cope with these two URLs:
http://example.com/en/media/asdffghj
http://example.com/fr/media/yrtweres
Note to self: I have some code for this that I wrote for a WPML site.