drupal / stringoverrides
Provides a quick and easy way of replacing text.
Installs: 16
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
Open Issues: 0
Type:drupal-module
This package is auto-updated.
Last update: 2024-11-10 08:48:12 UTC
README
Provides a quick and easy way to replace any text on the site.
Features
- Easily replace anything that's passed through t()
- Locale support, allowing you to override strings in any language
- Ability to import/export *.po files, for easy migration from the Locale module
- Note that this is not a replacement to Locale as having thousands of overrides can cause more pain then benefit. Use this only if you need a few easy text changes
Installation
- Extract to your sites/all/modules directory.
- Enable the module in admin/build/modules.
- Configure the access permission in admin/user/access or admin/user/permissions.
- Visit admin/settings/stringoverrides or admin/config/regional/stringoverrides and fill in the strings you'd like to replace.
- Dance (if you arn't dancing, then try emptying your cache)!
Troubleshooting
- Empty your cache
- Check your settings.php for any
$conf["locale_custom_strings_en"]
overrides, these conflict with the administration interface - Check the code to make sure your override is what's presented in
t()
in the code - Overlay module has been reported to break the administration. Please make sure to remove the "overlay=" in the URL.
Development
Head over to the project on GitHub for the issue queue. Features and bug fixes are done through pull requests.
Credits
- Written by Rob Loach
- Idea from the Lullabot team
- Jeff Eaton suggested the name Swappy, but String Overrides was more descriptive
- Nathan Haug did the Drupal 5 backport
- John VanDyk for usability enhancements
- Pasqualle for the the Drupal 7 port