Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

String Overrides

Security covered Under active development 10,579 sites

This module allows you to easily replace any text that appears on your website, including support for different languages. It provides a user-friendly interface for managing these text replacements and allows for importing/exporting translation files.

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

  1. Extract to your sites/all/modules directory.
  2. Enable the module in admin/build/modules.
  3. Configure the access permission in admin/user/access or admin/user/permissions.
  4. Visit admin/settings/stringoverrides or admin/config/regional/stringoverrides and fill in the strings you'd like to replace.
  5. Dance (if you arn't dancing, then try emptying your cache)!

Troubleshooting

  1. Empty your cache
  2. Check your settings.php for any $settings['locale_custom_strings_en'][''] overrides, these conflict with the administration interface
  3. Check the code to make sure your override is what's presented in t() in the code
  4. 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.

Drupal 10–11

Ask your assistant about String Overrides

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2025
Latest release
1 month ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.1 Stable 10–11 Aug 19, 2026
2.0.0 Stable 10–11 Jul 15, 2025
2.0.x-dev Dev 10–11 Jul 15, 2025