Closed paninee closed 2 years ago
Main Issue: Each language has been translated multiple times in /scripts/generate-entry-i18n.js
Reproducing the issue: Try to publish a Draft without populating other languages. In the background, calls to Google API is running multiple times. These multiple calls might in the server log. Sample below:
Cause:
validateFields(
) function under things.js has been modified to run a translation (/scripts/generate-entry-i18n.js
). The function is supposed to validate things only not to do the translation.
The translation costs seem to have gone up triple from when the Dutch language was added, since February. It's normally around $20, it came up to ~$60. And this month it went over to ~$130. We have to assess to see if there's anything wrong with the translation. Do we do any duplicate translation somewhere?