Closed (fixed)
Project:
String Overrides
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2008 at 03:27 UTC
Updated:
28 Mar 2008 at 19:31 UTC
I tried this mod today, and it is not working. All files copied into module directory (under stringoverides) and is visible in the module window. locale is not turned on. module activated. strings inserted. put in several string including:
None of these are being replaced.
here is my site (http://dav3.net), the weightloss word in the page is still 1 word on the page...
Any ideas?
Comments
Comment #1
Leeteq commentedCan anyone else confirm if this is working or a actually (critical) bug?
Comment #2
quicksketchThese strings are not being replaced because they're all user-defined content. Try replacing a string that is defined by a module. String overrides has the same functionality as locale module, which can only translate strings that are wrapped in the t() function.
All the examples you've tried are string that you have access to through the user interface already, so it wouldn't make much sense to change them twice. Try some of these that affect the node edit form for example:
The %post has been updated.
Your %post has been created.
Are you sure you want to delete %title?
To find the strings you can actually change, open up a module and look for t() function calls. Places where %, @, or ! are used means that the translation contains dynamic information (such as the node type or title in the above examples), these are not translated while the text around them are.
Comment #3
Leeteq commentedSo perhaps the documentation needs to be more specific?
Example: This module is complementing rather than replacing the locale module?
(PS. I havent bothered trying this module yet, chose to wait partly because of this "bug report". So I am curious to know if someone may confirm if this is not a buggy module... Perhaps this issue should be filed as a support request and not a bug?)
Comment #4
robloachMaybe it would be helpful if better documentation was in the hook_help function. Maybe something like what quicksketch provided:
If anyone is a better writer then me, please post a few notes! This will have to go into 6.x-1.x-dev, and then be ported to the Drupal 5 branch.
Comment #5
robloachhttp://drupal.org/cvs?commit=105865
http://drupal.org/cvs?commit=105864
Comment #6
robloachIf it's missing something in admin/help/stringoverrides, then please feel free to add something.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.