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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1548626_translated_forum_categories_plus.patch | 5.83 KB | jose reyero |
| #2 | 1548626_translated_forum_categories.patch | 2.53 KB | batigol |
| #1 | 1548626_translated_forum_categories.patch | 2.53 KB | jose reyero |
Comments
Comment #1
jose reyero commentedYes, forum paths are not being translated.
Try this patch.
Comment #2
batigol commentedOK, 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.
Comment #3
jose reyero commentedThe 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...
Comment #4
batigol commentedPatch 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!
Comment #5
kerios83 commentedGood work! Patch is working with latest 7.x-1.x-dev.
Comment #6
jose reyero commentedThanks for the quick feedback. Committed.
Comment #7
batigol commentedThe 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:
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 144EDIT:
When adding older tags everything is working fine, newly created ones seems to be broken.
Comment #8
batigol commentedEdited.
Comment #9
batigol commented.
Comment #10
kerios83 commentedYea, taxonomy translation doesn't work.
Comment #11
jose reyero commented@batigol,
As explained in many other places in this issue tracker, please search yourself, tagging with multilingual terms doesn't work.
Comment #11.0
jose reyero commentededit