Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lukepass opened this issue Nov 16, 2022 · 3 comments

Comments

@lukepass
Copy link

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.

@bocharsky-bw
Copy link
Member

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

@lukepass
Copy link
Author

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.

@bocharsky-bw
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants