- Issue created by @Wouter Waeytens
- 🇧🇪Belgium JonJacobs
Needed this also, I've worked a little bit more on the previous patch, with the following changes:
- For some situations where paragraphs were translated, all existing translations were overwritten, should now be fixed
- Changed how the calls to chatgpt are made, instead of 1 big call (which resulted in a lot of tokens being used + keys being overwritten) the values are now being loaded separately
- Kept all existing paragraph fields instead of only the translatable onesProbably needs some more refining and cleaning up.
- Status changed to Needs work
6 months ago 11:43am 26 June 2024 - 🇧🇪Belgium wouters_f Leuven
ideally this issue (patch) also ends up in https://www.drupal.org/project/ai/issues/3457200 ✨ ai_translate submodule Needs work
I tried to add a batch to it. This way you can see a progress bar.
Probably needs some more refining and cleaning up.Fixes latest patch.
This patch supports a batch.
Also the input field for the api key needed to be longer. This patch also handels that issue.