PHPackages                             dazzle/behat-drupal-translations - 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. dazzle/behat-drupal-translations

ActiveBehat-extension[Localization &amp; i18n](/categories/localization)

dazzle/behat-drupal-translations
================================

Allows you to use the original interface string in Drupal without worrying about the current language.

222.0k↓33.9%3[1 issues](https://github.com/dazzletheweb/behat-drupal-translations/issues)PHP

Since May 11Pushed 1y ago2 watchersCompare

[ Source](https://github.com/dazzletheweb/behat-drupal-translations)[ Packagist](https://packagist.org/packages/dazzle/behat-drupal-translations)[ RSS](/packages/dazzle-behat-drupal-translations/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

Behat Drupal Translations
=========================

[](#behat-drupal-translations)

This extension to Behat and the Drupal extension enables the power of translate interface into your steps.

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

[](#installation)

Installation through composer:

```
composer require dazzle/behat-drupal-translations:dev-develop

```

Usage
-----

[](#usage)

In your Behat config YAML file add following part in the 'extensions':

```
Dazzle\DrupalTranslations\Extension: ~

```

Syntax:

```
string|t
string#context|t

```

Example steps:

```
...
And I press the "Pay|t" button
Then I should see the heading "Payment confirmation|t"
Then I should see the error message "Payment amount should be greater that @amount|1.000|t"
When I click "My payments#payments|t"
Then I should see the heading "My payments|t"
...

```

In the background this extension will use the current language and lookup the translation.

Credits
-------

[](#credits)

- Originally developed by [Olivier Jacquet](https://github.com/ojacquet) and [Kevin Thiels](https://github.com/Novitsh)

[www.dazzle.be](https://www.dazzle.be/?ref=github-drupal-translations)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance21

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 78.6% 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/296ee2fbf0a8ae03aec878637451317bb17b975c6bd3f302685f2bcfad0e739d?d=identicon)[Novitsh](/maintainers/Novitsh)

---

Top Contributors

[![Novitsh](https://avatars.githubusercontent.com/u/5877591?v=4)](https://github.com/Novitsh "Novitsh (11 commits)")[![juanjol](https://avatars.githubusercontent.com/u/4212917?v=4)](https://github.com/juanjol "juanjol (2 commits)")[![dwb17](https://avatars.githubusercontent.com/u/5129274?v=4)](https://github.com/dwb17 "dwb17 (1 commits)")

### Embed Badge

![Health badge](/badges/dazzle-behat-drupal-translations/health.svg)

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

###  Alternatives

[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)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[statikbe/laravel-chained-translator

The Laravel Chained Translator can combine several translators that can override each others translations.

36149.4k6](/packages/statikbe-laravel-chained-translator)

PHPackages © 2026

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