[drupal-devel] [bug] Forums vocabulary title not localizable

Steven drupal-devel at drupal.org
Fri Jul 29 08:05:56 UTC 2005

Issue status update for 
Post a follow up: 

 Project:      Drupal
 Version:      cvs
 Component:    forum.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  calanya
 Updated by:   Steven
 Status:       patch

I'm still in Ber's camp. This whole patch relies on a bunch of odd
a) Locale.module must be enabled.
b) An appropriate translation must be installed.
c) The admin has never visited the forums admin screen before.

If and only if all of these are satisfied, the Forums vocabulary name
will be translated, but only once, into the language of that the admin
is using. For all intents and purposes, this string can be considered


Previous comments:

Sun, 27 Mar 2005 11:37:29 +0000 : calanya

The forums vocabulary title ('Forums') is not localizable.
Workaround is to directly edit the vocabulary table.


Sun, 27 Mar 2005 12:12:46 +0000 : Goba

Attachment: http://drupal.org/files/issues/Drupal-forum-missing-t.patch (970 bytes)

Here is  a patch.


Sun, 27 Mar 2005 15:41:14 +0000 : Steven

Where exactly is this title displayed? As far as I can tell, the
vocabulary is only saved once, so changing the localization won't
affect the title if you've already caused _forum_get_vid() to be
invoked one way or the other...


Sun, 27 Mar 2005 16:17:51 +0000 : Goba

Steven, this title is surely displayed if you use some multifaceted
navigation tool (eg. taxonomy navigation modules).


Sun, 27 Mar 2005 19:24:45 +0000 : Steven

Those were really two points, I guess it wasn't clear.

My point is that this patch does not appear to solve the problem if you
already have an untranslated forums title in the database. Changing the
localization at that point will not affect it, as the variable
"forum_nav_vocabulary" will be set.


Sun, 27 Mar 2005 19:26:40 +0000 : Steven

I just realized, this patch will fail with multi-language sites. Only
one localization will be stored in the database, and keep being used
regardless of user choice.

This really needs a different fix for this and the earlier reason.


Sun, 27 Mar 2005 19:29:14 +0000 : Goba

Steven, vocabulary names are single language all across Drupal. It
should not mean that Drupal should enforce an English name on the
forums vocab, should it? The idea is to populate the title field with
the site default locale on forum setup time.


Wed, 27 Jul 2005 16:14:55 +0000 : Bèr Kessels

-1: We should never ever t() any user submitted content. i18n will fix
this for you, because it allows translation of taxonomies.


Wed, 27 Jul 2005 18:59:49 +0000 : Goba

Ber, we are not applying t() to user submitted content!

More information about the drupal-devel mailing list