nikolov-tmw / multilingual-wp

A new plugin for multilingual content in WordPress
29 stars 3 forks source link

Support for Taxonomies #6

Closed nikolov-tmw closed 11 years ago

nikolov-tmw commented 11 years ago

Support for taxonomies is required.

I've decided to implement the multilingual support for the taxonomies in a similar fashion to how the posts are implemented. This means:

The reason to use separate options, vs one array option is that big chunks of date are not loaded on every page load(when there are hundreds/thousands of categories).

nikolov-tmw commented 11 years ago

A possible problem on the horizon - http://core.trac.wordpress.org/ticket/5809 When initially creating terms with the same name as the current term(for instance when creating the translation terms for the original term) with the same name as the original term, no actual terms are being created - instead that term is simply added to the term_taxonomy relations table.

Workaround for now - append a unique string to the term name - for instance "||bg" where "bg" is the language code for the specific language.

nikolov-tmw commented 11 years ago

Might eventually have to wait until same slugs can be used across different taxonomies, or I'll have to rethink the way additional terms are created right now.