I'm working on a bilingual (English/simplified Chinese) site. According to my understanding, if I select the "Localize terms. Terms are common for all languages, but their name and description may be localized." for a vocabulary then the terms should be translatable through the translate interface and should display correctly when I switch between languages. I have entered translations via translate interface for the forum taxonomy vocabulary title and all the terms. However, neither the title, not the term translations are displayed correctly when I go to the forum page and switch to Chinese. They continue to be displayed in the default language (English) regardless of which language I select.

Comments

bwright’s picture

Sorry--I forgot to note that I have Advanced Forums installed. I have communicated with the maintainer of that module in the following thread:

http://drupal.org/node/392550

She believes the issue is in the core forum code.

amccann’s picture

Subscribing - voting for a fix for this too.

aleksey.tk’s picture

Subscribing, have the same problem

mashik’s picture

Not only Advanced Forum but the core forum has the same problem. So the component is stated correctly - forum.module.
Please, fix the bug!!

JamesAn’s picture

Version: 6.8 » 6.19

It appears the title of the main forum listing is the vocabulary name of the forum vocabulary and I can't figure out how to translate it.

The module i18ntaxonomy in the i18n project provides ways to translate taxonomy terms, but it seems buggy when it comes to translating vocabulary names.

Even when manually inserted into the database, the translated string for the forum vocabulary name isn't being picked up by the core forum module and quickly encapsulating the vocabulary name in the translate function, t(), doesn't fix it.

I was hoping to use the translation interface to replace the forum name with another English name, but I can just rename the vocabulary entirely as a workaround for me. For real multilingual support, I don't know what to do.

Maybe this'll help someone pinpoint how to fix it.

rootical’s picture

I was facing the same problem.
The main thing to understand is that in Drupal you should create all the taxonomy terms after the localization module is enabled and the main language settings were done.
I had to create new terms instead of ones that were created before adding of all languages.
After that i was able to view translation
Hope it`ll help someone

rgrms’s picture

Dirty, but simple solution: change

  $title = !empty($vocabulary->name) ? $vocabulary->name : '';

at line 663 of forum.module to e.g.

$title = t('Forums');

and translate as usual.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.