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

Extract the Google Translation functionality to an adapter based lookup #467

Open
erral opened this issue Sep 29, 2024 · 0 comments
Open

Comments

@erral
Copy link
Member

erral commented Sep 29, 2024

Currently plone.app.multilingual supports connecting to Google Cloud Translation API to automatically translate content when translating a page in Plone.

Now that AI and machine translation quality is so good and there are so many services, I think that it would be nice to build a generic solution to achieve this, and let addon creators manage the connection to external services in an easier way.

Right now, if one wants to use some other service, needs to override a view where the 95% of the code will be copied over

I propose to change to an adapter based lookup, which will allow addons to register their own adapter (possibly with control panels to save API keys or endpoints) to do the translation work.

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

No branches or pull requests

1 participant