symfony-bundle icon indicating copy to clipboard operation
symfony-bundle copied to clipboard

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

Open lukepass opened this issue 3 years ago • 3 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.

lukepass avatar Nov 16 '22 08:11 lukepass

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 :)

bocharsky-bw avatar Nov 22 '22 11:11 bocharsky-bw

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.

lukepass avatar Nov 22 '22 11:11 lukepass

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

bocharsky-bw avatar Nov 23 '22 18:11 bocharsky-bw