huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
236 stars 79 forks source link

[AT] I. Machine translation settings #6950

Closed LaszloKecskes closed 1 month ago

LaszloKecskes commented 3 months ago

Add the MT settings to the settings object in the db, and implement a read-out in the settings manager. The settings will be set manually.

The settings should:

Since properties are referred by id, templates are not strictly necessary, could be just a property-to-languages map.

The read-out should:

daneryl commented 1 month ago

@aphilop should the languages be configurable or should we use the languages already configured for the tenant ?

aphilop commented 1 month ago

@daneryl In the discussions we had for the solution design, we decided: "The available languages of the collection are set as the languages for automatic translation (provided they are available in the translations service)." So, we should use the languages configured for the tenant.

RafaPolit commented 1 month ago

As part of this implementation we are going to provide a DEV-exclusive script to create a config object passing semantic data and the script will extract the right ids.