PHPackages                             stev/google-cloud-translate-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. [API Development](/categories/api)
4. /
5. stev/google-cloud-translate-bundle

ActiveSymfony-bundle[API Development](/categories/api)

stev/google-cloud-translate-bundle
==================================

Symfony 2 Bundle for Google Cloud Translate Basic API

v1.1(4y ago)021GPL-3.0PHPPHP &gt;=5.5

Since Apr 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/stevro/GoogleCloudTranslationsBundle)[ Packagist](https://packagist.org/packages/stev/google-cloud-translate-bundle)[ RSS](/packages/stev-google-cloud-translate-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

GoogleCloudTranslationsBundle
=============================

[](#googlecloudtranslationsbundle)

A Symfony bundle to translate your application using Google cloud Translations API

\#Install

```

composer require stev/google-cloud-translations-bundle --dev

```

Initialize the bundle for dev env.

```
$bundles[] = new \Stev\GoogleCloudTranslateBundle\StevGoogleCloudTranslateBundle();
```

\#Configuration

Get your Google Cloud Key () and save it in your project in "app/data/key.json" or anywhere you want. Just make sure it's not a public folder.

Add the following configuration to config\_dev.yml

```

stev_google_cloud_translate:
    keyFilePath: '%kernel.root_dir%/../data/cp-google-cloud-key.json'

```

You must have JMS Translations installed (). If not already present in your composer it will be automatically installed. Here's a sample configuration

```

jms_translation:
    locales: [en,fr,de]
    configs:
        app:
            dirs: ["%kernel.root_dir%/../src/AppBundle"]
            output_dir: "%kernel.root_dir%/Resources/AppBundle/translations"
            ignored_domains: [routes]
            excluded_names: ["*TestCase.php", "*Test.php"]
            excluded_dirs: [cache, data, logs]
            keep: true
            output_format: xliff

```

\#Usage

Let's suppose your default language is English.

1. Extract your translations using JMS command ```
    php app/console translation:extract --config=app
    ```
2. Translate the first set of messages in your default language (english). All default language translations must be provided by you/developers. You can use the web UI provided by JMS for that .
3. Use the following command to translate all messages from your default language to any other language supported by Google Translations: ```
    php app/console stev:google_cloud_translate --config=app --sourceLocale=en --destinationLocale=fr
    ```

Now if you check your French translations files you should find all of your messages translated into French.

This bundle will not translate the following messages:

- The ones that are not NEW in the destination language.
- The ones that are NEW in the source language.
- Might break the messages with plural syntax or with placeholders. So those should be translated manually firstly or carefully checked afterwards for any break.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

1532d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4375675?v=4)[Stefan Matei](/maintainers/stevro)[@stevro](https://github.com/stevro)

---

Top Contributors

[![stevro](https://avatars.githubusercontent.com/u/4375675?v=4)](https://github.com/stevro "stevro (11 commits)")

---

Tags

symfony bundle google cloud translate

### Embed Badge

![Health badge](/badges/stev-google-cloud-translate-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/stev-google-cloud-translate-bundle/health.svg)](https://phpackages.com/packages/stev-google-cloud-translate-bundle)
```

###  Alternatives

[sylius/sylius

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

8.5k5.8M712](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[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.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[sulu/headless-bundle

Bundle that provides controllers and services for using Sulu as headless content management system

56140.6k2](/packages/sulu-headless-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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