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.5.1(1y ago)2126.7k↓23.8%29LGPL-3.0-or-laterPHPPHP ^8.2CI passing

Since Jun 5Pushed 2mo 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 1mo ago

READMEChangelogDependencies (11)Versions (30)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):

```
