Download & Extend

"Image galleries" vocabulary title - won't translate

Project:Image
Version:6.x-1.x-dev
Component:image_gallery
Category:bug report
Priority:minor
Assigned:Unassigned
Status:needs work

Issue Summary

Hi,

Since i'm using a portuguese site, the words "Image galleries" (title of main gallery) is "Galeria de Imagens" since i first created the gallery. Now, this was working fine but all of a sudden it changed back to "Image galleries" along with a new menu link on my navigation bar. Weird.

So i disabled the navigation link (no big deal) and went to the Categories settings and renamed the Image galleries vocabulary. Nothing, it still comes up as "Image galleries" when i check up the Gallery. I've tried emptying cache, devel cache reset, different browsers, localization string search numerous times... nothing.
Only one string comes up, it's already translated but still, the title on the Gallery page is still in english :(

If anyone knows how to fix this, please say. I'll keep an eye on this thread.

Comments

#1

Version:5.x-2.x-dev» 5.x-1.9
Status:active» postponed (maintainer needs more info)

I'm using Image Galleries 5.x-1.9 in Spanish and I solved this problem changing the line 169 of image_gallery.module from:
drupal_set_title($gallery->name);
To:
drupal_set_title(t($gallery->name));

I really think that this problem should be corrected to show internationalized gallery titles. So if someone could change this in the CVS, as I don't have really a clear idea of how to do it, I really appreciate this.

#2

Version:5.x-1.9» 6.x-1.x-dev
Status:postponed (maintainer needs more info)» needs review

patch for 6.x-1.x-dev attached.

AttachmentSizeStatusTest resultOperations
image-gall_274810.patch95 bytesIgnored: Check issue status.NoneNone

#3

It can be a bug in the module, but it's possible as well that you have to change the name of the vocabulary 'Image Galleries' in "Galeria de Imagens" (so, under settings/taxonomy). good luck!

#4

Status:needs review» needs work

Sorry, a taxonomy term belongs to user content and thus needs to be translated through a translation system. For example, i18n, resp. i18ntaxonomy module.

If this was about a configurable string in module settings, I would have committed the t() approach.

#5

In case anyone is searching for this fix, you can fix this by changing the name in the View.

nobody click here