• I have a page up and running, that uses WordPress and Polylang. I have a few pages and a fistful of categories. For Example “Zeichnungen” (De) and the matching English category “drawing” as well as “Artikel” (De) and matching “posts” and a few more.

    Everything was fine until I wanted to slove a navigation/highlighting issue by introducing sub-categories. I created a new category “allde” and made Zeichnungen and Artikel Sub-categories to it. Worked fine. I created a English translation of “allde” called “allen”. Worked fine, too.

    Then I changed “drawings” to be a sub of allen and it automatically changed the German sibling “Zeichnungen” back to top level (so it was not a sub of “allde” anymore).

    What I Want is

    ALLDE
    –Zeichnungen
    –Artikel
    ALLEN
    –Drawings
    –Posts

    All I can get is either

    ALLDE
    –Zeichnungen
    –Artikel
    ALLEN
    Drawings
    Posts

    or
    ALLDE
    Zeichnungen
    Artikel
    ALLEN
    –Drawings
    –Posts

    Any idea what I do wrong?

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • I am having the same issue. There is no provision to create subcategories of particular category in another language apart from default language.

    • This reply was modified 6 years, 9 months ago by vibhu27.

    I am having the same issue!
    It is not true that it is not possible to create sub-categories in the second language.
    If I create a new sub-category, it is possible to do it in both languages. The problem manifests itself when I try to “change” the parent category of a sub-category.
    I feel that if I change the parent category of the category (LANGUAGE 1), it changes. However, the parent category of the category (LANGUAGE 2) is still the old one. So when I open the category (LANGUAGE 2) for change the parent, it goes to overwrite LANGUAGE 1 which returns as it was before. It’s a loop that does not stop.
    The only way is to create categories, sub-categories and parent categories immediately before cloning from the first language to the second language.
    But this is not a good thing: sooner or later it will happen to have to change something.
    How is it that the Polylang developers have not yet solved this flaw?

    Andrea

    Exactly the same problem here! I have 3 languages and it’s only possible to have subcategories in one of them. When I change one of the other 2, the 1st language brings everything back to parent categories.

    It’s incredible that there is no answer or solution for this! It’s a serious one!

    I have exactly the same problem.

    I have a few sub categories under a parent category in 6 different languages. Whenever I move a sub category, the same sub-categories in the other languages move the other way. And when I try to change the sub-category in one of the other languages, the first change moves back like the others do. Completely strange.

    I deactivated ALL plugins except Polylang and the problem still exists.

    I activated/deactivated the synchronization of taxonomies several times, changed the permalinks structure -> problem still exists.

    I removed all changes from the functions.php in my themes folder -> problem still exists.

    This problem doesn’t happen if I assign a post to one or more categories, so it’s only a problem with the ordering (sub vs parent vs single) of categories.

    Me too, I’m afraid. I’ve disabled Polylang and the problem stopped. We’re looking at using the Polylang translation service.

    Plugin Support Chrystl

    (@chrystl)

    Hello,

    I was able to reproduce it on my environment. Assigning a parent category (before translating it) to a translated category breaks the hierarchy of the translation.
    We need to investigate this issue to see how we can fix it.

    Hello,

    I am also having this issue using polylang. I have a category when I assign this category as a sub category and then when changing other change category to sub category then My default language categories removed from sub category and make it as a parent.

    Please provide the solution.

    Thank you

    Plugin Author Chouby

    (@chouby)

    Hi,

    The issue has been fixed in the latest version.

    carloscastilloadhoc

    (@carloscastilloadhoc)

    I’m using the latest version (2.3.11) and can confirm the issue with changing the parent resetting the parent of the translations still persists with the taxonomies of a custom post type, exactly as described by the other posters.

    I can work it out assigning the parents programatically with the wp_update_term() function, although that makes the translated terms with a parent element disappear from the admin panel until I edit and save (without modifying anything) a translated term without a parent element (I guess it refreshes the hierarchical relationships or something). Once they’re visible again both the original and translated terms are correctly assigned to their parents.

    Plugin Author Chouby

    (@chouby)

    Hi,

    Please open a GitHub issue and describe exactly the steps to reproduce it as currently, I am unable to reproduce it with Polylang 2.3.11 or the current development version available on GitHub.

    Hello,
    I face the same issue. I use the polylang 2.5.3 and polylang for woocommerce 1.2.
    I can have added 2 languages (English and Greek) and I can view the subcategories either in english or in greek.

    How can I solve the issue?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Problem with Sub-categories and multiple languages’ is closed to new replies.