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

Goba drupal-devel at drupal.org
Sun Mar 27 19:29:16 UTC 2005


Issue status update for http://drupal.org/node/19534

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

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.


Goba



Previous comments:
------------------------------------------------------------------------

March 27, 2005 - 12:37 : calanya

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


------------------------------------------------------------------------

March 27, 2005 - 13:12 : Goba

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

Here is  a patch.


------------------------------------------------------------------------

March 27, 2005 - 16:41 : 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...


------------------------------------------------------------------------

March 27, 2005 - 17:17 : Goba

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


------------------------------------------------------------------------

March 27, 2005 - 20:24 : 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.


------------------------------------------------------------------------

March 27, 2005 - 20:26 : 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.





More information about the drupal-devel mailing list