Download & Extend

Reward: Can not get string replacement to work at all

Project:String Overrides
Version:7.x-1.0
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I tried not to post anything unless I really had tried all that I knew to do, but I can't seem to get this module to work at all. I am on Drupal 6.20, I do not have any sort of caching enabled (I cleared the cache and have tried different browsers to be sure), I have enabled the Locale and Translation modules (I have also tried with these modules off), I installed the stringoverrides module and setup my strings like so:

This role will expire on !date ----> This course will expire on !date

The string I am replacing is EXACTLY as it is in the Ubercart Roles module (line 608)

$messages['uc_roles_user_expiration_message'] = t("This role will expire on !date");

I can't seem to get this or any other string replacement to work (not even the "My Account" example). I almost wonder if there is some other module which may be interfering. Could someone PLEASE help? I am willing to offer $100 to anyone who can help me figure out what is going on.

Thank you.

Comments

#1

Version:6.x-1.8» 7.x-1.0
Component:User interface» Miscellaneous
Assigned to:Anonymous» Dorian

Hi,
i have the same Problem. Not even the examples work...It sounds like a fantastic hack...if it would work for me ;)

Dorian

#2

It's weird. I am able to find odd strings throughout the site that I CAN override, just not these. Grrrr. I wonder if it has something to do with strings for which translations exist.

#3

Assigned to:Dorian» Anonymous

Dorian, did you really mean to assign this issue to yourself? Usually that means you are going to post a fix/patch for it.

#4

I can't get it to work either...
but I wanted to suggest something I've seen work before: try clearing your cache.

#5

See: http://drupal.org/node/748362#comment-4664504

There is a setting in the ubercart ui:
admin/store/settings/products/edit/features

and I put the screen shots here.

AttachmentSize
uc_roles01.jpg 67.43 KB
uc_roles02.jpg 73.19 KB
uc_roles03.jpg 20.45 KB
nobody click here