enonic / app-contentstudio

Content Studio of Enonic XP
GNU General Public License v3.0
10 stars 4 forks source link

Request translations from AI Assistant #7671

Closed alansemenov closed 2 months ago

alansemenov commented 3 months ago

Upon localisation (and when user agreed to automatic translation) we should send requests to AI Assistant to request translations of non-empty text fields. Requests should be asynchronous as we should populate each input as soon as we got a translation for it. Each request should contain the original field value and the language of the layer the original value should be translated to.

Note that we should traverse the entire form and request translations for all text fields, including nested item/option sets.