PHPackages                             designs2/translator - 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. designs2/translator

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

designs2/translator
===================

Multipurpose translation manager and interface

2.0.0(11y ago)055LGPL-3.0+PHPPHP &gt;=5.3

Since Jun 5Pushed 10y agoCompare

[ Source](https://github.com/designs2/translator)[ Packagist](https://packagist.org/packages/designs2/translator)[ Docs](http://c-c-a.org/)[ RSS](/packages/designs2-translator/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (6)Used By (0)

Translator
==========

[](#translator)

[![Build Status](https://camo.githubusercontent.com/1e9fa60d75be6db243ece6bfc7a866d61690b921f7fe241aa2d9dceccaace2a5/68747470733a2f2f7472617669732d63692e6f72672f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f7472616e736c61746f722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/contao-community-alliance/translator)

The Contao Community Alliance translation library allows easy use of various translation string sources.

It ships with a collection of various translation string providers:

- Static values that get populated during runtime by code (StaticTranslator).
- Adapter for [Contao CMS](https://github.com/contao/core) language string arrays (LangArrayTranslator).

In addition it also provides a translator chain using which various translators can be stacked.

Usage:
------

[](#usage)

It integrates into the Contao CMS providing a translator service. To use it, just get the service from the [dependency container](https://github.com/contao-community-alliance/dependency-container):

```
