PHPackages                             locomotivemtl/charcoal-contrib-translatable-strings - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. locomotivemtl/charcoal-contrib-translatable-strings

ActiveLibrary[Localization &amp; i18n](/categories/localization)

locomotivemtl/charcoal-contrib-translatable-strings
===================================================

Charcoal Translatable Strings allows an Admin user to translate hardcoded strings found in templates and controllers.

036[1 issues](https://github.com/locomotivemtl/charcoal-contrib-translatable-strings/issues)PHP

Since Jun 8Pushed 7y ago13 watchersCompare

[ Source](https://github.com/locomotivemtl/charcoal-contrib-translatable-strings)[ Packagist](https://packagist.org/packages/locomotivemtl/charcoal-contrib-translatable-strings)[ RSS](/packages/locomotivemtl-charcoal-contrib-translatable-strings/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Charcoal Translatable Strings
=============================

[](#charcoal-translatable-strings)

[![License](https://camo.githubusercontent.com/83ea1036d425020c0d475786a076293a84082ef40c77362d8e97ab606d4d993b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c6f636f6d6f746976656d746c2f63686172636f616c2d636f6e747269622d7472616e736c617461626c652d737472696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/locomotivemtl/charcoal-contrib-translatable-strings)[![Latest Stable Version](https://camo.githubusercontent.com/41b3205f8f341209bc7d5e4c51f87bd9217090403b2c96d4bfe9010262081f17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f636f6d6f746976656d746c2f63686172636f616c2d636f6e747269622d7472616e736c617461626c652d737472696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/locomotivemtl/charcoal-contrib-translatable-strings)[![Code Quality](https://camo.githubusercontent.com/bd5226b49ffa5614c207b6785490b51f154a946e9886e2c8eae2007a804bef83/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c6f636f6d6f746976656d746c2f63686172636f616c2d636f6e747269622d7472616e736c617461626c652d737472696e67732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/locomotivemtl/charcoal-contrib-translatable-strings/)[![Coverage Status](https://camo.githubusercontent.com/ddfb2eec37fad0ce4235ec151f3f570286dd5d168b2668ea9192ae457ec1ac34/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6c6f636f6d6f746976656d746c2f63686172636f616c2d636f6e747269622d7472616e736c617461626c652d737472696e67732e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/locomotivemtl/charcoal-contrib-translatable-strings)[![Build Status](https://camo.githubusercontent.com/35c045012b0e4294e4635b6b8253a56f20aceaebdd3678305edc30f9b982b27e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c6f636f6d6f746976656d746c2f63686172636f616c2d636f6e747269622d7472616e736c617461626c652d737472696e67732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/locomotivemtl/charcoal-contrib-translatable-strings)

A [Charcoal](https://packagist.org/packages/locomotivemtl/charcoal-app) service allowing an Admin user to translate hardcoded strings found in templates and controllers.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
    - [Dependencies](#dependencies)
- [Service Provider](#service-provider)
    - [Parameters](#parameters)
    - [Services](#services)
- [Configuration](#configuration)
- [Usage](#usage)
- [Development](#development)
    - [API Documentation](#api-documentation)
    - [Development Dependencies](#development-dependencies)
    - [Coding Style](#coding-style)
- [Credits](#credits)
- [License](#license)

Installation
------------

[](#installation)

The preferred (and only supported) method is with Composer:

```
$ composer require locomotivemtl/charcoal-contrib-translatable-strings
```

### Dependencies

[](#dependencies)

#### Required

[](#required)

- [**PHP 5.6+**](https://php.net): *PHP 7* is recommended.

#### PSR

[](#psr)

\--TBD--

Service Provider
----------------

[](#service-provider)

### Parameters

[](#parameters)

\--TBD--

### Services

[](#services)

\--TBD--

Configuration
-------------

[](#configuration)

\--TBD--

Usage
-----

[](#usage)

\--TBD--

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

[](#development)

To install the development environment:

```
$ composer install
```

To run the scripts (phplint, phpcs, and phpunit):

```
$ composer test
```

### API Documentation

[](#api-documentation)

- The auto-generated `phpDocumentor` API documentation is available at:

- The auto-generated `apigen` API documentation is available at:
    [https://codedoc.pub/locomotivemtl/charcoal-contrib-translatable-strings/master/](https://codedoc.pub/locomotivemtl/charcoal-contrib-translatable-strings/master/index.html)

### Development Dependencies

[](#development-dependencies)

- \[php-coveralls/php-coveralls\]\[phpcov\]
- \[phpunit/phpunit\]\[phpunit\]
- \[squizlabs/php\_codesniffer\]\[phpcs\]

### Coding Style

[](#coding-style)

The charcoal-contrib-translatable-strings module follows the Charcoal coding-style:

- [*PSR-1*](https://www.php-fig.org/psr/psr-1/)
- [*PSR-2*](https://www.php-fig.org/psr/psr-2/)
- [*PSR-4*](https://www.php-fig.org/psr/psr-4/), autoloading is therefore provided by *Composer*.
- [*phpDocumentor*](http://phpdoc.org/) comments.
- [phpcs.xml.dist](phpcs.xml.dist) and [.editorconfig](.editorconfig) for coding standards.

> Coding style validation / enforcement can be performed with `composer phpcs`. An auto-fixer is also available with `composer phpcbf`.

Credits
-------

[](#credits)

- [Locomotive](https://locomotive.ca/)

License
-------

[](#license)

Charcoal is licensed under the MIT license. See [LICENSE](LICENSE) for details.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

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://www.gravatar.com/avatar/b806b936695bdb12bf55e0e805bdaef15507502a07a16e34d43c5aad17390468?d=identicon)[dominiclord](/maintainers/dominiclord)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/locomotivemtl-charcoal-contrib-translatable-strings/health.svg)

```
[![Health](https://phpackages.com/badges/locomotivemtl-charcoal-contrib-translatable-strings/health.svg)](https://phpackages.com/packages/locomotivemtl-charcoal-contrib-translatable-strings)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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