Active
Project:
String Overrides
Version:
6.x-1.7
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2009 at 22:59 UTC
Updated:
9 Jun 2011 at 18:22 UTC
Not sure what I'm doing wrong. I tried following the 4 steps installation but it doesn't seems to be changing the specified string.
As per example, I tried changing "My Account" to "My Profile" and even after clearing and disabling the cache, it didn't change.
Thanks,
Comments
Comment #1
robloachI believe you're looking for "My account", note the small "a" ;-) .
Comment #2
gkapoor commentedI had menu changed to Account so it's "My Account" and even I tried changing other strings for e.g.
"The %post has been updated." to "The %post has been updated by String override."
It's same problem, nothing gets updated.
Thanks,
Comment #3
robloachIf you changed it, then that's not the default value that's passed through the t() function to String Overrides. I can't really help you if I don't know what you changed. If you reset the menu item to the default, and then change it with "My account", it will work, because that's what's passed through String Overrides.
Comment #4
poloparis commentedSame here, i'm trying to change the word "Submitted" in the teasers, tried both 6.x-1.7 and 6.x-1.x-dev, but "Submitted" is still there. I suppose i could change the node.tpl.php
Comment #5
robloach"Submitted"? Where's that showing up? It requires the full string......... "Invalid categories submitted."? "Submitted by !username on @datetime."? "Submitted by !username on @datetime"? It won't work for single words.
Comment #6
ercb commentedYou do have to look out for spaces. It didn't work for me until i noticed there were spaces in de t() I wanted to overide. In my case I wanted to change:
t('Posted ') one space
t(' by ') two spaces, one before and after by
Hope this helps...
Great module... THANX
Comment #7
poloparis commentedBrilliant. Thank you Rob for your answer, obviously I hadn't grasped the way it worked.
Comment #8
aarahkahak commentedI've tried to change !username's blog to !username Blog, but after clearing the cache it still doesn't seem to be working...!username's blog is inside a t(), is there something else I'm missing?
Comment #9
joshuautley commentedWell, same thing happened to me when I went to replace "User Account" with "VIP Access" for the user login page which I had also aliased to vip instead of user. (=
Anyhow, after clearing my chache and being sad that I couldn't dance I turned to a CSS solution > http://www.cssportal.com/css-properties/text-replace.htm
As I went to impliment that solution I copied the value to replace from the code instead of the page (using Firebug) and I noticed that the string I wanted to replace was "User account" not User Account. I had forgotten that I had a CSS line changing the case of my page Titles. Oops.
Now I'm dancing and I hope this helps anyone else who has this combination of issues. If your still not dancing try the CSS option.