I'm having hard time integrating Entity Translation module with tags (Taxonomy and TagClouds modules). I want the following:
- Cloud of tags to be showed on the site
- Tags must be translatable, i.e. each tag must be showed in English or Russian, depending on the current language.
There are at least two problems. The first is that ET module breaks TagClouds. More specifically, whenever I enable these two modules (in any order), showed cloud of tags disappears. What is more suprisingly, it even doesn't matter was translation of tags enabled in ET module or not ( admin/config/regional/entity_translation
-> translatable entity types -> taxonomy term) -- cloud of tags always ends up disappeared. Dblog doesn't show any errors. Is there any other place I can check for them?
The second problem is that if I make taxonomy term translatable in ET, I get strange errors when I'm trying to translate terms. For example:
- If I get to the page of some tag created before enabling ET, for example
en/taxonomy/term/8
, than clickTranslate
tab, I will see that current name is not English nor Russian. If clickadd
button in either language, I will get not found error -- see screenshots.- If I click to
edit
button in list of tags (admin/structure/taxonomy/tags
), I will get even more interesting error --Access denied, You are not authorized to access this page.
- Finally, If I click
add items
on some vocabulary and save it, I will get the following exception:Exception: Invalid translation language in EntityTranslationDefaultHandler->setTranslation() (line 635 of /var/www/drupal/sites/all/modules/entity_translation/includes/translation.handler.inc).
- If I click to
Name
and Description
fields of tags are marked as translatable (admin/structure/taxonomy/tags/fields/name_field
-> Field translation
Users may translate all occurrences of this field: Name in Теги
)
What I am doing wrong?
Drupal version is 7, all modules are up to date. I also use i18n modules for translating the interface, by the way.