PHPackages                             drupal/stringoverrides - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. drupal/stringoverrides

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

drupal/stringoverrides
======================

Provides a quick and easy way of replacing text.

21812PHP

Since Oct 8Pushed 8y ago2 watchersCompare

[ Source](https://github.com/drupalprojects/stringoverrides)[ Packagist](https://packagist.org/packages/drupal/stringoverrides)[ RSS](/packages/drupal-stringoverrides/feed)WikiDiscussions 7.x-1.x Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (2)

String Overrides
================

[](#string-overrides)

Provides a quick and easy way to replace any text on the site.

Features
--------

[](#features)

- Easily replace anything that's passed through [t()](http://api.drupal.org/api/function/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
------------

[](#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
---------------

[](#troubleshooting)

1. Empty your cache
2. Check your *settings.php* for any `$conf["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.

Development
-----------

[](#development)

Head over to [the project on GitHub](http://github.com/drupalprojects/stringoverrides) for the issue queue. Features and bug fixes are done through pull requests.

Credits
-------

[](#credits)

- Written by [Rob Loach](http://www.robloach.net)
- Idea from the [Lullabot team](http://www.lullabot.com/audiocast/podcast-50-drupal-tips-and-tricks)
- [Jeff Eaton](http://drupal.org/user/16496) suggested the name *Swappy*, but String Overrides was more descriptive
- [Nathan Haug](http://drupal.org/user/35821) did the [Drupal 5 backport](http://www.lullabot.com/articles/replace-any-string-drupal-5-6-without-locale-module)
- [John VanDyk](http://drupal.org/user/2375) for [usability enhancements](http://drupal.org/node/234334)
- [Pasqualle](http://drupal.org/user/80733) for the [the Drupal 7 port](http://drupal.org/node/609948)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25086?v=4)[Rob Loach](/maintainers/RobLoach)[@RobLoach](https://github.com/RobLoach)

---

Top Contributors

[![RobLoach](https://avatars.githubusercontent.com/u/25086?v=4)](https://github.com/RobLoach "RobLoach (39 commits)")

### Embed Badge

![Health badge](/badges/drupal-stringoverrides/health.svg)

```
[![Health](https://phpackages.com/badges/drupal-stringoverrides/health.svg)](https://phpackages.com/packages/drupal-stringoverrides)
```

###  Alternatives

[pagon/eventemitter

Event Emitter for PHP

2919.3k3](/packages/pagon-eventemitter)[rogervila/provably-fair

PHP implementation of Bustabit's Provably Fair system

1312.6k](/packages/rogervila-provably-fair)[laravel-interaction/bookmark

User bookmark/unbookmark behaviour for Laravel.

105.0k](/packages/laravel-interaction-bookmark)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
