I created two separate vocabularies: an English and a Dutch one. It looks like this:

English vocabulary named "Type" (taxonomy 1):
- Urban photography (term 1)
- Night photography (term 3)
- Studio photography (term 5)

Dutch vocabulary named "Soort" (taxonomy 2):
- Urban fotografie (term 2)
- Nachtfotografie (term 4)
- Studiofotografie (term 6)

My vocabulary translation modes are:
- Set language to vocabulary. The vocabulary will have a global language and it will only show up for pages in that language.

Now this is what happens:

- I create an English node and assign term "Urban photography" (1) to it. Works. So far so good.
- I translate it to the Dutch node and assign term "Urban fotografie" (2) to it. Then it goes wrong...

The term of the English node also changes to the Dutch term "Urban fotografie" (2).
So both nodes (the Dutch and the English one) have the same, Dutch term.

If I correct the English node by setting the term to "Urban Photography" (1) then it goes wrong again...

The term of the Dutch node also changes to the English term "Urban photography" (1).
So both nodes (the Dutch and the English one) have the same, English term.

What's going wrong here?

Comments

jose reyero’s picture

Possibly it is the synchronization part which is not handling properly such vocabularies, so better disable it for taxonomy and that content types.

So this should be a bug. Please let me know whether it is the sync part or sth else.

Marc Bijl’s picture

Title: i18n in D6: how to use multi language taxonomy? » Synchronize translations for taxonomy terms not working (content type setting)
Category: support » bug

Hi Jose,

Thnx for the quick reply,
and for pointing me in the right direction! ;)

Indeed: it's the taxonomy synchronization not working.

I've turned it off at the content type settings,
and now everything's working fine.

Hope it gives you enough information to try and solve the issue.
May be it's somehow related to the ones here (duplicate?):

- http://drupal.org/node/365606
- http://drupal.org/node/367287

Cheers mate,
Marc

Marc Bijl’s picture

Component: Miscellaneous » Code

Hmm,
guess it's the code not working... ;)

criz’s picture

Priority: Normal » Critical

I can confirm this issue. Seems not to be usable at the moment...

juan_manuel’s picture

I can confirm it too...

Do you know some alternative way to obtain the same result?
Reference: http://drupal.org/node/313268

Thanks!

jose reyero’s picture

Status: Active » Fixed

After reviewing the full code (synchronization + taxonomy translation) I've found it was just handling a few of the formats node taxonomy could be in.

Fully reworked that part, handling now complex arrays (vid -> array) and added some normalization for the returned data.

Hope it works now. Please confirm. Thanks for the bug reports.

tomsm’s picture

I have installed the latest dev. (20 Oct. 09)

My translation mode is:
Localize terms. Terms are common for all languages, but their name and description may be localized.

The synchronization of taxonomy terms works correctly. (note: before this release it also worked fine)

jose reyero’s picture

@tomsm,

Thanks for the feedback, though the issue was related to the other vocabulary types (translated, fixed language)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

seg108’s picture

I am looking for a solution that will provide synchronization across fixed language vocabularies which have corresponding predefined terms (where at least one term is required). It seems that to make this work there must be some connection defined between the corresponding terms of the vocabularies. Switching off synchronization in content type settings is not an option for me. Can you help? Willing to hire for solution. Thanks.

ak’s picture

"Localize terms" works for me as well. But going this road has some downsides I ran in to. Using Drupal's built in "interface translation" for my taxonomy makes the translated version of a term invisible to Drupal's search. Only the original source term is indexed.

Using "translated" or "fixed language" as mentioned in #8 would probably fix this problem but still doesn't synchronize for me. Is this intended to be fixed already?

seg108’s picture

Little more detail this time:
(Excuse me if I'm not posting in correct place, but seems relevant to this thread about synchronizing terms.)
I am looking for a solution for synchronizing between different fixed-language vocabularies of different languages.
This is final multilingual issue remaining for my site build, so I welcome any suggestions that do not involve suggesting a change to a completely different vocabulary translation set up! Thanks!
I am using a mixture of vocabularies, some with translation mode None, and some with Set language to vocabulary.
The terms of non-multilingual vocabs sync fine when creating new translation nodes as all languages are using the same terms from the same vocabulary.
But I must find a way for the corresponding terms of an alternate fixed-language vocab to be added to a node translation.
My site makes use of auto-translation at time of publishing and I'd like to avoid having to make the user go to each translated page to add manually the terms in each respective language.
It seems that there needs to be a relationship defined between the terms, but usually relations are only within a single vocabulary not across vocabularies. Any ideas?