2017 © Pedro Peláez
 

library translate-bundle

Google Translate API Bundle for Symfony2

image

pmdevelopment/translate-bundle

Google Translate API Bundle for Symfony2

  • Tuesday, October 18, 2016
  • by pmdevelopment
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

translate-bundle

Google Translate API Bundle, (*1)

Config.yml

"from" and "to" are optional. Default is "en" to "de"., (*2)

    pm_translate:
        api_key: '%google_api_translate_key%'
        from: de
        to: en

Usage

    /*
     * Default Language
     */
    $translation = $this->get('pm_translate.services.translation_service')->translate($keywordName);

    /*
     * Custom Language
     */
    $translation = $this->get('pm_translate.services.translation_service')->translate($keywordName, 'en', 'fr');

The Versions

18/10 2016

dev-master

9999999-dev

Google Translate API Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

18/10 2016

1.0.0

1.0.0.0

Google Translate API Bundle for Symfony2

  Sources   Download

MIT

The Requires