Skip to content

Remiii/remiii-symfony2-and-google-translate

Repository files navigation

symfony2-and-google-translate

App creating your sf2 translations files via google translate API.

How to use

Get Composer.

Get vendors:

$ php composer.phar install

Put your base messages.[yourlanguage].yml file in datas directory.

Run the program with that command:

$ php app/console translator "[yourlanguage]" "es, en, it"

This command translates your base yml file in spanish, english and italian. File will be created in output directory.
That's it !

Marks: think to escpae quote in a string ("'" => "'").

About

Symfony2 and GoogleTranslate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages