babble icon indicating copy to clipboard operation
babble copied to clipboard

Deal with post type slugs which are the same across multiple languages

Open simonwheatley opened this issue 13 years ago • 1 comments

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

simonwheatley avatar Jan 31 '12 10:01 simonwheatley

Note to self: I have some code for this that I wrote for a WPML site.

johnbillion avatar Jan 16 '13 14:01 johnbillion