maximepinot / google-translate-command-bundle
Automatically translate your Symfony translation files with the Google Translate API.
Installs: 1 239
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=7.4
- ext-intl: *
- stichoza/google-translate-php: ^4.0
- symfony/console: ^4.1|^5.0|^6.0
- symfony/framework-bundle: ^4.1|^5.0|^6.0
- symfony/translation: ^4.1|^5.0|^6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- symfony/phpunit-bridge: ^4.1|^5.0|^6.0
- symfony/yaml: ^4.2|^5.0|^6.0
This package is auto-updated.
Last update: 2024-04-19 21:11:54 UTC
README
Automatically translate your Symfony translation files with the Google Translate API.
Installation
$ composer require maximepinot/google-translate-command-bundle --dev
Usage
$ php bin/console translation:google-translate <locales>
For example, the following command will translate your translation files into French and Spanish:
$ php bin/console translation:google-translate fr es
Documentation
For more information (installation, usage, examples, troubleshooting), see the documentation.
Built With
- Google Translate PHP - Free Google Translate API PHP Package.
Author
License
This project is licensed under the MIT License - see the LICENSE file for details.