PHPackages                             phizzl/codeception-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. phizzl/codeception-translations

AbandonedArchivedLibrary

phizzl/codeception-translations
===============================

1.0.1(8y ago)11.9k[1 issues](https://github.com/phizzl/codeception-translations/issues)GPL-3.0PHP

Since Jun 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/phizzl/codeception-translations)[ Packagist](https://packagist.org/packages/phizzl/codeception-translations)[ RSS](/packages/phizzl-codeception-translations/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Translations for Codeception
============================

[](#translations-for-codeception)

The module allows you to add translations in your suite config. This may be usefull when working with a multilingual website.

You may define your translations as module config

```
actor: AcceptanceTester
modules:
    enabled:
        - \Phizzl\Codeception\Modules\Translations\TranslationsModule
    config:
        \Phizzl\Codeception\Modules\Translations\TranslationsModule:
            translations:
                "Welcome friend": "Willkommen Freund"
                "good": "gut"
```

Of course you can also use environments to have different translations.

You're also able to load translations from a separate yaml file. Instead filling the *translations* option with an array structure you can add a file

```
actor: AcceptanceTester
modules:
    enabled:
        - \Phizzl\Codeception\Modules\Translations\TranslationsModule
    config:
        \Phizzl\Codeception\Modules\Translations\TranslationsModule:
            translations: "lang_en.yml"
```

If you dont use an absolute path the given file will be searched in your configured data directory.

Now you are able to translate strings in your Cest files.

```
public function tryToTest(AcceptanceTester $I)
{
    $welcomeText = $I->translate("Welcome friend"); // result: Willkommen Freund

    $I->amOnPage('/');
    $I->see($welcomeText);

    /* You are also able to translate only placeholder within a string using the defined keys. Just use the ${key} expression in your string. */
    $statusText = $I->translate("Status: \${good}"); // result: Status: gut

    $I->see($statusText);
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

3256d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c97e3bef66ef0074ad9f0fe89d74a6bec22b2940cf11f4cb41707e15c316589?d=identicon)[phizzl](/maintainers/phizzl)

### Embed Badge

![Health badge](/badges/phizzl-codeception-translations/health.svg)

```
[![Health](https://phpackages.com/badges/phizzl-codeception-translations/health.svg)](https://phpackages.com/packages/phizzl-codeception-translations)
```

###  Alternatives

[getkirby/cms

The Kirby core

1.5k535.5k352](/packages/getkirby-cms)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)

PHPackages © 2026

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