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
$settings['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.
Credits
This module was written by Rob Loach, however, the idea came from the Lullabot team when they mentioned someone should put a module together that takes advantage of the new translation functionality in Drupal 6. Jeff Eaton suggested the name Swappy, but String Overrides was a bit more descriptive. Nathan Haug gets the credit for producing the brilliant Drupal 5 backport. Thank you goes to John VanDyk for usability enhancements. Pasqualle was a major help with the Drupal 7 port.
Project information
- Module categories: Administration Tools, Multilingual
- 17,062 sites report using this module
- Created by RobLoach on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 8.x-1.x-dev updated 9 Aug 2023 at 18:53 UTC
Development version: 7.x-1.x-dev updated 18 Sep 2023 at 19:08 UTC