Filter custom taxonomy (hierarchical) checklist in post edit screen by language?
-
How can I achieve that the custom taxonomies shown in the meta box of the post edit screen are filtered by the current language; just as it is the case in the posts’ quick edit? At the moment, the custom taxonomy appears in all languages in the post edit screen, and is only correctly filtered by language in the quick edit’s taxonomy list.
Example : Assume you have a custom taxonomy whose terms you’ve set to the language-specific via polylang settings. In that taxonomy, you then have one term defined so far, one in each language:
– Begriff Eins (German)
– Word One (English)If I now check the list of available terms of that taxonomy in the quick edit of a german pots in the wp admin, I can only select “Begriff Eins”. If I do the same for an english post, I can only select “Word One”.
When I however open the post edit screen, in the metabox of the concerned taxonomy, I can select both “Begriff Eins” and “Word One”; no matter in which language the concerned post is written. I want the same behaviour as in quick edits, such that, when a german post is edited, I can only select among german terms of the concerned taxonomy, and analogously for english..Note: It would also be good if, when adding a new term to the taxonomy in the edit post screen, you could also immediately set its language, as the taxonomy is said to hold lanugages / translations.
- The topic ‘Filter custom taxonomy (hierarchical) checklist in post edit screen by language?’ is closed to new replies.