php-translation / symfony-bundle

Symfony integration for Translations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically add missing translation and auto-translate them using Google Translate in the XLF

lukepass opened this issue · comments

Hello, is it possible to auto-add the missing translations and have the bundle translate them using Google Translate in order to have a "baseline" for better translations?

Thanks.

Hey @lukepass ,

Yeah, it should be possible. Please, follow the docs from here: https://php-translation.readthedocs.io/en/latest/symfony/auto-translate.html

I hope it helped :)

Hello and thanks for the answer! Isn't this article for auto-translating only?

I would like to auto-add them (https://php-translation.readthedocs.io/en/latest/symfony/auto-add-missing.html) but translate with Google Translate before adding.

Thanks.

Ah, I see now. Yeah, that feature is probably only about translating things on the fly, no storing to the translation file