Hi,

Im not sure if it was the right way to go but I needed a way to categorize a bunch of products and put the categories in a submenu of my website. I found out the category module was the best module that suited my needs. I also needed it to be done in 3 different languages. So I made the container and category content type translatable (Enabled, with translation option).

After that I made an english container, setup all the options and saved it. Then I hit the translate button and did the same for my other languages. Saving it was no problem. This means the selected content type for the 3 containers is the same.

Now when i hit the "Edit" button on my english container everything goes fine and I can save my changes without a problem. However when I try to "Edit" a translation it all goes wrong.

First of all on the "Edit" page I get this warning:

warning: Invalid argument supplied for foreach() in /opt/www/xxx/xxx/xxx/includes/form.inc on line 1197.

I also noticed that the options "hidden container" and "content type" were not filled in anymore.
So I thought let's put it all back in order and do my changes but when I hit save changes I get this:

* warning: Invalid argument supplied for foreach() in /opt/www/vs01009/web/mullion.chilli.be/includes/form.inc on line 1197.
* user warning: Duplicate entry '45' for key 'PRIMARY' query: INSERT INTO d6_category (cid, cnid, weight, depth) VALUES (45, 0, -15, -1) in /opt/www/vs01009/web/mullion.chilli.be/includes/common.inc on line 3422.
* user warning: Duplicate entry '45' for key 'PRIMARY' query: INSERT INTO d6_category_cont (cid, admin_title, help, module, relations, synonyms, hierarchy, multiple, required, tags, hidden_cont, allowed_parent) VALUES (45, '', '', 'category', 0, 0, 0, 0, 0, 0, 1, 0) in /opt/www/vs01009/web/mullion.chilli.be/includes/common.inc on line 3422.
* user warning: Duplicate entry '45-product' for key 'PRIMARY' query: INSERT INTO d6_category_cont_node_types (cid, type) VALUES (45, 'product') in /opt/www/vs01009/web/mullion.chilli.be/sites/all/modules/category/category.module on line 1043.
* user warning: Duplicate entry '45-0' for key 'PRIMARY' query: INSERT INTO d6_category_hierarchy (cid, parent) VALUES (45, 0) in /opt/www/vs01009/web/mullion.chilli.be/sites/all/modules/category/category.module on line 1048.

So my question is, did I do something wrong? Or is there some patch I could apply to solve those problems?

Thanks a lot in advance,
Grtzzzzz,
Hatznie.