PHPackages                             contao-community-alliance/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. contao-community-alliance/translator

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

contao-community-alliance/translator
====================================

Multipurpose translation manager and interface

2.6.0(1mo ago)2128.2k↑53.3%29LGPL-3.0-or-laterPHPPHP ^8.4CI passing

Since Jun 5Pushed 2w ago7 watchersCompare

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

READMEChangelogDependencies (22)Versions (33)Used By (9)

Translator
==========

[](#translator)

[![Build Status](https://github.com/contao-community-alliance/translator/actions/workflows/diagnostics.yml/badge.svg)](https://github.com/contao-community-alliance/translator/actions)

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):

```
