Translated Drupal Forum categories are not listing proper topics (with same language as forum category) - tested on clean drupal install.

- D7.2 [Locale, Content Translation]
- i18n 7.x-1.5
- variable 7.x-1.2
+ URL Detection method
+ FORUM content type:
[Extended language support
Normal - All enabled languages will be allowed.]
[Multilingual support
Enabled, with translation]
+ Taxonomy FORUM:
[Translation mode
Translate. Different forum containers will be allowed for each language and they can be translated.]
and creating some terms for each language...

When I click on forum and click on language link to translate it - everything is fine. Number of topics/answers are changed as a description language. But when I choose a specific forum (translated forum taxonomy term) - and click on other language link, list of topics aren't changed (they numbers/answers still stay the same only the descriptions are translated properly) or there are no topic at all (after variable Refresh cache update)....
[The path use a taxonomy ID, not a translated forum taxonomy name... - if you use pathauto]

When you browse a forum list in English and click on specific forum then English taxonomy forum path looks fine. But now when you click on Italian translation for example, the path is wrong (ID is same).
On other way:
When you browse a forum list in Italian and click on specific forum then Italian taxonomy forum path looks fine. But now when you click on English translation the path is wrong (ID).

It seems that when you translate forum taxonomy you got for example:

computer forum EN (id2)
computer forum FR (id3)

Now when you browse top level of forum in EN you see proper ID when hover on forum taxonomy link (id2 in EN and id3 in FR). But when you get inside [computer forum EN (id2)] and try to click on other language (FR) you see (in Language switcher block - User interface text) proper language prefix but the same ID-2. It should be ID3.

RELATED: http://drupal.org/node/1331724

Comments

jose reyero’s picture

StatusFileSize
new2.53 KB

Yes, forum paths are not being translated.

Try this patch.

batigol’s picture

Status: Active » Needs review
StatusFileSize
new2.53 KB

OK, thx for clarifying this.

...

This is working like a harm! I have been waiting for this for a long time. Thanks!

P.S. There is typo in a patch (or i18n_taxonomy.modulle) so you need to apply it manually in i18n_taxonomy/i18n_taxonomy.module ohhh wait... just use this one.

jose reyero’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
StatusFileSize
new5.83 KB

The patch was for latest dev, updating version.

This new patch includes the previous one, but adds some more improvements to i18n_forum, like properly checking for vocabulary translation mode, etc...

batigol’s picture

Patch is working very well. For me it's a major improvement, can't wait till new stable release!! Just one more bug fix (http://drupal.org/node/1540064) and I'm ready to rox with me new site!

kerios83’s picture

Good work! Patch is working with latest 7.x-1.x-dev.

jose reyero’s picture

Status: Needs review » Fixed

Thanks for the quick feedback. Committed.

batigol’s picture

Status: Fixed » Needs work

The think there is a problem - when adding taxonomy terms to the content. It seems that when you have 2 tags in different language but they have the same name [for example you translate computer (en) to computer (fr)] then link to this term is broken. Drupal choose wrong tag, it's not looking at you actual language that you adding content with.

It seems to be related with this issue.

I would have try latest dev version but update.php:

i18n_variable module
7003 - Update list of realm variables.

give me this error:

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://www.mysite.com/update.php?op=selection&token=zIlC9ubtQsUewtrJ-cJ6QfRRgAVx_BpDJQdwbXyHBpU&id=182&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function variable_realm_get_variable_list() in C:\xampp\htdocs\drupal\sites\all\modules\i18n\i18n_variable\i18n_variable.module on line 144

EDIT:

When adding older tags everything is working fine, newly created ones seems to be broken.

batigol’s picture

Edited.

batigol’s picture

.

kerios83’s picture

Yea, taxonomy translation doesn't work.

jose reyero’s picture

Status: Needs work » Closed (fixed)

@batigol,
As explained in many other places in this issue tracker, please search yourself, tagging with multilingual terms doesn't work.

jose reyero’s picture

Issue summary: View changes

edit