I'm at a loss for trying to get this module to work. I have 7.x-1.8 installed and running on Drupal 7.17. I've tried replacing text in the main menu, blocks, page content and although it always says it saved, nothing is ever changed. I've checked and tried all of the fixes listed on the project page, googled many pages for this problem, and I've tried different themes (Bartik, Tarski, Zen) but nothing has helped.
The frustrating part is that I've seen videos of people using it, and I see a lot of positive references to this theme. For me it just doesn't work. Are there any other suggestions of possible fixes? There doesn't seem to be much out there for other options of a "find and replace" module.
Comments
Comment #1
mrgoodcheese CreditAttribution: mrgoodcheese commentedThis module doesn't work with core 7.20 either. Changed to major. Will be looking elsewhere for a similar module.
Comment #2
kingfisher64 CreditAttribution: kingfisher64 commentedI can't get this working either, with the latest dev version.
Is there any chance of a fix?
Comment #3
davidlovere CreditAttribution: davidlovere commentedThis is true for me as well. Anyone?
Comment #3.0
davidlovere CreditAttribution: davidlovere commentedAdded that I googled.
Comment #4
nithinkolekar CreditAttribution: nithinkolekar commentedsame issue with core 7.26 and Creative Responsive Theme. Not working out of the box with simple configuration without even html tags :(.
Comment #5
eigentor CreditAttribution: eigentor commentedI had a similar problem.
Please check three things:
So taking care of those things I got it working in the end with Drupal 7.31
Comment #6
coger CreditAttribution: coger commented(Drupal 7.26)
Working after
1) installing and activating 2 modules:
variable
-> last official release
i18ni
-> "18n-7.x-1.x-dev.tar.gz" is to use instead of release "i18n-7.x-1.11.tar.gz"
otherwise you will get issue described here : https://www.drupal.org/node/2227523
2) activating parts "String translation" and "Field translation" in the page "Modules".
3) follow recommandations from here: https://www.drupal.org/node/1451132#comment-5984944
Summary : I got success for only one translation done from string overrides since issue to add a second one (discarded while saving).
Probably I will change other strings in file *.po since issue through "string overrides" interface
Comment #7
mibfire CreditAttribution: mibfire commentedThis doesnt work for me, so the english strings cant be replaced.
Drupal: 7.32
I18n: 7.x-1.11+8-dev
Variable: 7.x-2.5
I did the steps what coger mentioned in comment 6. "locale_custom_strings_en" is set but somehow it is taken out from global $conf.
Comment #8
mibfire CreditAttribution: mibfire commentedI have managed to solve the problem after 2 days struggling:
I was using this code in settings.php:
Summarizing: If you use
t()
in the settings.php you cant override the english texts.Comment #9
memcinto CreditAttribution: memcinto commentedAlso not working for me at all. Two sites, both on Drupal core 7.34, one using stringoverrides 7.x-1.8+9-dev, the other using 7.x-1.8. Locale is not enabled on either site. Nothing special in settings.php on either site. Frustrating.
Comment #10
billy_comic CreditAttribution: billy_comic commentedI have the module installed and I'm seeing it replace text on the admin dashboard and interface when i assign those values, but when I assign it to replace a string that is front facing the consumer, it does not replace the string. Has anyone found a solution to this?
Comment #11
PasqualleI can confirm using t() inside settings.php will break stringoverrides.
The problem is in the t() function itself that the variable_get() will not return the custom_strings from db as variables are not initialized yet.
Comment #12
katin CreditAttribution: katin commentedI found that setting $conf['locale_custom_strings_en'] in the settings.php file at all will cause the save function in the admin/config/regional/stringoverrides page to fail.
Here's what I had in my settings.php file:
$conf['locale_custom_strings_en'][''] = array(
'Subscribe to group' => 'Take this course',
'Unsubscribe from group' => 'Leave this course',
'Group' => 'Course',
'Are you sure you want to join the group ' => 'Are you sure you want to take the course ',
);
With it in place, these items would appear on the stringoverrides config page as enabled replacements... but adding anything else simply wouldn't save. It was always these.
Commenting it out, stringoverrides config worked as expected.
Comment #13
dkoDesign CreditAttribution: dkoDesign commentedJust a note to say I've also encountered this issue with the following code in settings.php:
The folks who initially developed the site were trying to install as few modules as possible to keep it light (site is huge, so any overhead savings was seen as a good thing). We later installed String Overrides and found it failing to save new entries and listing entries we knew we'd not put in place. Turned out the module was picking them up from the settings.php code shown above and displaying them in the module's admin screen. It seems, then, that
$conf['locale_custom_strings_en']
has broken the module's ability to save in my case as well.Comment #14
Agost CreditAttribution: Agost commentedThe setting
$conf['locale_custom_strings_en']
doesn't work for me. In an recent article published in August, the date appeared in English. I found this quick and temporary solution until I find a better solution (you have to adapt the code to your layout):