My copy editor is a little picky, and she feels that image is too vague, so I would like to see if it's possible to change wherever it says "Image galleries" to something else.
I tried looking in the images.pot file and other language files, and everything I did had no effect. Wondering if this information gets loaded into the DB, and isn't in a file.
I would like to set this to critical, but I realize that this is not making the image module NOT work, it's just not working how I want it to.
Thanks!
Comments
Comment #1
Hetta commentedHmmm. Changing the menu name doesn't work, changing the vocabulary name doesn't work, changing the various "t('Image galleries')" in image_gallery.module doesn't work ... interesting problem, sorry that I can't help.
Comment #2
Brian@brianpuccio.net commentedThere's always the locale workaround. Sorry, I don't know of any better solution. One would think that modifying the image.module (before installing it) by doing a find and replace would solve your issue, I'm surprised it doesn't.
Comment #3
beekerstudios commentedLow and behold I finally got it to change, strange enough I had this file open already and I know I had edited this and test it.
The place to change it is in: modules/image/contrib/image_gallery/po/image_gallery.pot
Now I have to change the verbiage everywhere, I had already told my copy editor that I could not find an easy solution.
I don't have performance caching enabled, so I am not sure how I missed this.
Comment #4
(not verified) commentedComment #5
kelbel commentedHi, I'm reopening this issue because it's driving me crazy--I've tried the solution beekerstudios suggested and it didn't work for me. I have no idea where the title "Image galleries" is coming from, but I've changed it in every instance in the image gallery module and in the image_gallery.pot. Anyone else have any luck?
Comment #6
vm commentedI'd try and use the stringoverrides.module
Comment #7
sunYes - what previous posters suggested.
Reverting status.
Comment #8
kelbel commentedI tried both changing the title string in the .po file as suggested above, and using the String Overrides module, and still the title hasn't changed. Anyone else have any thoughts?
Comment #9
vm commentedwas it found by string overrides? was cache cleared after the change?
It doesn't make any sense that changing it everywhere ie: module files, .po files and through overriding the string wouldn't make this change. I'm not in a position to test right now but will when I get home from work.
Comment #10
kelbel commentedThanks so for much for the advice, VeryMisunderstood. Here's what I tried doing:
1) Downloading and installing the String Overrides module, according to the instructions at the module's project page.
2) Going to */admin/settings/stringoverrides and typing "Image galleries" in the Original column and "Browse the Inspiration Galleries" in the Replacement column.
3) Refreshing my cache/reloading the page, but with no difference.
I may have overlooked something, though. Not sure what to try next.
Comment #11
Josie_h commentedpmfji icorners, I could be totally wrong (as a newbie) and you may already be doing this but...
I think you will find that you need to enter more than just "Image Galleries" as the string to over-ride.
I believe you will need to find the module that contains the original text and then find where the required text is enclosed by the 't()' function. Put everything inside this 't()' function into the string over ride field.
This is an example of one of the over rides I am using...
The following is in the ORIGINAL field (as found in the appropriate module):-
Created new image to attach to this node. !image_link
The following in the REPLACEMENT field:-
Formatting new image to attach. !image_link . SUCCESS!
HTH and someone please correct me if I'm wrong.
Comment #12
sharifudinrizal commentedThe string Override module works perfectly for this on D6..
Comment #13
onejam commentedstring Override module works for me too (on D6)
Comment #14
vm commentedI'm pretty sure this can be marked as fixed.
Comment #15
sun@VeryMisunderstood: Ping me on IRC if you ever happen to be on again ;)
Comment #16
vm commentedIf I'm there and I don't ping you first feel free to ping me irc = VM or VM-Kenn
Comment #18
kelbel commentedFYI, if anyone else has this issue in the future: I ended up just creating a new gallery with the title I wanted, and then moving all the sub-galleries into that, and then making the path "/image" redirect to "/image/newgalleryname."
That way, while "Image galleries" is still technically the root gallery, the new gallery will appear as the root in every other way.