Translation option of AI Helper in combination with non-English interface language

It should be fairly easy to pass the translated language and replace the string with “Translate to %{language}”. However, we use the same CompletionPrompt called translate which is used in both the post AI helper and the composer AI helper.

If we want the functionality to be:

  • Post Helper: Translates to Interface Locale
  • Composer Helper: Translates to Site locale

it would be a little bit more work (though still doable) as we should probably create a separate CompletionPrompt for each post/composer. Easier would be to have the same (i.e. both translate to interface locale).

I can push an update, which one do we prefer?

4 Likes