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.

CommentFileSizeAuthor
#2 image-gall_274810.patch95 bytesHetta
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ignasiga’s picture

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.

Hetta’s picture

Version: 5.x-1.9 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Needs review
FileSize
95 bytes

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

maverick14’s picture

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!

sun’s picture

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.

johnnyoakland’s picture

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