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

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

avro/translator-bundle
======================

A symfony2 bundle that uses 3rd party translation apis to translate text

06PHP

Since Aug 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/jdewit/TranslatorBundle)[ Packagist](https://packagist.org/packages/avro/translator-bundle)[ RSS](/packages/avro-translator-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Avro Translator Bundle
----------------------

[](#avro-translator-bundle)

A Symfony2 bundle that utilizes Microsoft Translator to translate text. Unlike Google translate, Microsoft translate has a free plan that allows for 2 000 000 characters to be translated per month.

See [Microsoft Translator Docs](http://blogs.msdn.com/b/translation/p/gettingstarted1.aspx) on how to setup your azure account to get your clientID and client secret.

\###Install

```
$ composer install avro/translator-bundle

```

Add bundle to AppKernel.

```
    new Avro\TranslatorBundle\AvroTranslatorBundle(),
```

\###Config

```
avro_translator:
    azure:
        client_id: %azure_client_id%
        client_secret: %azure_client_secret%

```

\###Usage

Translator is available as a service

```
// translate some text from english to spanish
$newText = $this->container->get('avro_translator.translator')->translate('Some text here', 'en', 'es');
```

\###License MIT

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b43556a54d880ffb06c69ff48a730a1b6126d04cba4749ab7040723ba706407?d=identicon)[jdewit](/maintainers/jdewit)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/avro-translator-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/avro-translator-bundle/health.svg)](https://phpackages.com/packages/avro-translator-bundle)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

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