PHPackages                             happyr/auto-fallback-translation-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. happyr/auto-fallback-translation-bundle

Abandoned → [php-translation/symfony-bundle](/?search=php-translation%2Fsymfony-bundle)Symfony-bundle[Localization &amp; i18n](/categories/localization)

happyr/auto-fallback-translation-bundle
=======================================

Make sure to use a translation service like Bing or Google to translate your missing messages

1.0.1(9y ago)2981MITPHPPHP ^5.5 || ^7.0

Since Dec 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Happyr/AutoFallbackTranslationBundle)[ Packagist](https://packagist.org/packages/happyr/auto-fallback-translation-bundle)[ Docs](http://developer.happyr.com)[ RSS](/packages/happyr-auto-fallback-translation-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (9)Versions (7)Used By (0)

Happyr Auto Fallback Translation Bundle
=======================================

[](#happyr-auto-fallback-translation-bundle)

[![Latest Version](https://camo.githubusercontent.com/62ec1c4047621bc271397fec2fd16f3ece1ced8371a01ddca592fca4e2cefe4d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f4861707079722f4175746f46616c6c6261636b5472616e736c6174696f6e42756e646c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/Happyr/AutoFallbackTranslationBundle/releases)[![Build Status](https://camo.githubusercontent.com/b44214e2c8a8a157ded21b84354adf7bdaa62bb1f379260e7cbf5592b298016d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4861707079722f4175746f46616c6c6261636b5472616e736c6174696f6e42756e646c652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Happyr/AutoFallbackTranslationBundle)[![Code Coverage](https://camo.githubusercontent.com/23acccee096dc7d9c5fcd15ba528d7074adea1101e51ba997d3b593e9f60adc5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f4861707079722f4175746f46616c6c6261636b5472616e736c6174696f6e42756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Happyr/AutoFallbackTranslationBundle)[![Quality Score](https://camo.githubusercontent.com/1138773ef9a1a49b58327fd09b6c1534e2ec5e58f57195f28bd38ebbc97e0205/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4861707079722f4175746f46616c6c6261636b5472616e736c6174696f6e42756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Happyr/AutoFallbackTranslationBundle)[![Total Downloads](https://camo.githubusercontent.com/e8769761c8abc040d76595994320bf041a57e2add0450bcdc3ce6c1e55c60ffd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6861707079722f6175746f2d66616c6c6261636b2d7472616e736c6174696f6e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/happyr/auto-fallback-translation-bundle)

DEPRECATED: Use php-translation/symfony-bundle
==============================================

[](#deprecated-use-php-translationsymfony-bundle)

This bundle uses Google to translate messages that you have not translated yet. So instead of using a fallback language you get a Google translated string. Sure, Google translate is not optimal but it is way better then using a different language. With this feature you can deploy a new version even before your translators have done their work.

### To Install

[](#to-install)

Run the following in your project root, assuming you have composer set up for your project

```
composer require happyr/auto-fallback-translation-bundle
```

Add the bundle to app/AppKernel.php

```
class AppKernel extends Kernel
{
  public function registerBundles()
  {
    $bundles = array(
        // ...
        new Happyr\AutoFallbackTranslationBundle\HappyrAutoFallbackTranslationBundle(),
    }
  }
}
```

### Configuration

[](#configuration)

```
// app/config/config.yml
happyr_auto_fallback_translation:
    enabled: false
    default_locale: en
    translation_service: "google"
    google_key: "%google_server_api_key%"
    http_client: httplug.client.auto_translation
    message_factory: httplug.message_factory # default

 // app/config/config_prod.yml
happyr_auto_fallback_translation:
    enabled: true # Only enabled in production
```

To easier configure the HTTP client and message factory, have a look at [HttplugBundle](https://github.com/php-http/HttplugBundle).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

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 ~65 days

Recently: every ~81 days

Total

6

Last Release

3516d ago

Major Versions

0.2.0 → 1.0.02016-11-04

PHP version history (2 changes)0.1.0PHP &gt;=5.5

1.0.0PHP ^5.5 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (38 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/happyr-auto-fallback-translation-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/happyr-auto-fallback-translation-bundle/health.svg)](https://phpackages.com/packages/happyr-auto-fallback-translation-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

51390.8k3](/packages/web-auth-webauthn-framework)[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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