PHPackages                             open20/amos-translation - 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. open20/amos-translation

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

open20/amos-translation
=======================

AMOS Translation

1.5.2(2y ago)0173PHPPHP &gt;=5.5.0

Since Feb 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/regionelombardia-open20/open2-translation)[ Packagist](https://packagist.org/packages/open20/amos-translation)[ Docs](http://www.open20.it/)[ RSS](/packages/open20-amos-translation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (25)Used By (0)

Amos Translation
================

[](#amos-translation)

Translation management.

### Button clean translatemanager cache

[](#button-clean-translatemanager-cache)

Insert in config/component-amos

```
  'view' => [
            'class' => 'open20\amos\core\components\AmosView',
            'theme' => [
                    'pathMap' => [
                        '@vendor/lajax/yii2-translate-manager/views/language/' => '@vendor/open20/amos-translation/src/views/translatemanager/'
                    ],
                ],
        ],
```

### Configurable properties

[](#configurable-properties)

\***defaultTranslationLanguage** - string
Default language to translate if the record translate is not present

```
'translation' => [
    'class' => 'open20\amos\translation\AmosTranslation',
    'defaultTranslationLanguage' => 'en-GB',
],
```

\***secureCookie** - boolean
Added configuration to enable to send cookie without security

\***enableCookieFor2LevelDomain** - boolean
Added configuration to set cookie for the second level domain

\***byPassPermissionInlineTranslation** - boolean If the value is true it disable all the permission on the record translation

\***enableLabelTranslationField** - boolean, default = false If set to true it enables the display of the translatable fields in the forms

\***templateTranslationField** - string, default = '{translation}' Template of translation field in the form, near the label

\***templateTranslationAltField** - string, default = '{altTranslation}' Template of translation alt field in the form, near the $templateTranslationField

\***translationLabelField** - string, default = 'strtoupper(substr(\\Yii::$app-&gt;language, 0, 2));' This string will be parsed by the "eval()" function instead of $tempalteTransaltionField, by default {translation}

\***translationLabelAltField** - string, default = '\\Yii::t("amostranslation", "Testo traducibile, la visualizzazione attuale è in");' This string will be parsed by the "eval()" function instead of $templateTranslationAltField, by default {altTranslation}

\***labelTranslationField** - string, default = ' ( - {translation})' This string is the html code that will be used in the labels to represent a translatable field

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~142 days

Recently: every ~39 days

Total

13

Last Release

928d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6eb97765ff9c2a6c83df362376ac9fe8f21e4ac4c3b65fd1e2380233178fe500?d=identicon)[open2.0](/maintainers/open2.0)

---

Top Contributors

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

---

Tags

translationyii2amos

### Embed Badge

![Health badge](/badges/open20-amos-translation/health.svg)

```
[![Health](https://phpackages.com/badges/open20-amos-translation/health.svg)](https://phpackages.com/packages/open20-amos-translation)
```

###  Alternatives

[yiimaker/yii2-translatable

Translatable behavior aggregates logic of linking translations to the primary model

1534.0k1](/packages/yiimaker-yii2-translatable)[geertw/yii2-translatable-url-rule

A custom URL rule class for Yii 2 which allows to create translated URL rules

1420.3k](/packages/geertw-yii2-translatable-url-rule)

PHPackages © 2026

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