PHPackages                             cphcloud/silverstripe-dynamictranslations - 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. cphcloud/silverstripe-dynamictranslations

ActiveSilverstripe-module[Localization &amp; i18n](/categories/localization)

cphcloud/silverstripe-dynamictranslations
=========================================

Dynamic translations for SilverStripe

0.0.2(10y ago)17741MITPHP

Since Jun 29Pushed 10y ago15 watchersCompare

[ Source](https://github.com/CPHCloud/silverstripe-dynamictranslations)[ Packagist](https://packagist.org/packages/cphcloud/silverstripe-dynamictranslations)[ Docs](https://github.com/cphcloud/silverstripe-dynamictranslations)[ RSS](/packages/cphcloud-silverstripe-dynamictranslations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

silverstripe-dynamictranslations
================================

[](#silverstripe-dynamictranslations)

Dynamic Translations module for SilverStripe.

How it works
------------

[](#how-it-works)

Replace the strings you want to translate with the following syntax:

```
$dt('SearchBar.Submit', 'Submit search')

```

The next time the template is loaded, the module will search for an entity in the database named `SearchBar.Submit`. If it can’t find one, it will create it (with the second argument as the default string) and save it. It will then store this data in a cache ready for the next request that uses this translation.

Translations can be added and edited in the CMS, as well as grouped into categories for easier management by CMS users. The list of categories can be managed in the CMS, and default categories can be created on `dev/build` by adding categories to your YAML configuration:, e.g.:

```
DynamicTranslationCategory:
  default_categories:
    - Header
    - Footer
    - Search
```

Note that the default categories will only be created if no categories already exist in the database.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3977d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bce97eb0400543e0f239062169ff44bf01e7a265c6dd0bb652ac4e61cb16103f?d=identicon)[cphcloud](/maintainers/cphcloud)

---

Top Contributors

[![anselmdk](https://avatars.githubusercontent.com/u/1316533?v=4)](https://github.com/anselmdk "anselmdk (6 commits)")[![lozcalver](https://avatars.githubusercontent.com/u/1655548?v=4)](https://github.com/lozcalver "lozcalver (2 commits)")

---

Tags

translationssilverstripei18

### Embed Badge

![Health badge](/badges/cphcloud-silverstripe-dynamictranslations/health.svg)

```
[![Health](https://phpackages.com/badges/cphcloud-silverstripe-dynamictranslations/health.svg)](https://phpackages.com/packages/cphcloud-silverstripe-dynamictranslations)
```

###  Alternatives

[gettext/languages

gettext languages with plural rules

7530.3M11](/packages/gettext-languages)[tractorcow/silverstripe-fluent

Simple localisation for Silverstripe

92421.6k26](/packages/tractorcow-silverstripe-fluent)[outl1ne/nova-translations-loader

This Laravel Nova package helps developers load translations into their packages.

395.1M42](/packages/outl1ne-nova-translations-loader)[silverstripe/translatable

Allows translation of DataObject and SiteTree records into multiple languages

53192.0k8](/packages/silverstripe-translatable)[laravel-lang/locales

Basic functionality for working with localizations

134.5M12](/packages/laravel-lang-locales)

PHPackages © 2026

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