UTRS2 / utrs

Unblock Ticket Request System (v2) used on Wikimedia projects
https://en.wikipedia.org/wiki/Wikipedia:Unblock_Ticket_Request_System
GNU Affero General Public License v3.0
25 stars 25 forks source link

DeepL implemtation #717

Open dqwiki opened 11 months ago

dqwiki commented 11 months ago

In support of #50, we will be using DeepL to actively translate user appeals from their native language to the native language of the reviewer. To do this, we need to implement the following:

[!IMPORTANT] This is not to be implemented for end users because of potential abuse and the amount of system coding it would take to prevent the abuse.

[!NOTE] Support to be implemented with DeepLcom/deepl-php

[!NOTE] We will not be translating the interface through DeepL, just user-inputted text fields from appeals. There were 236427 characters in appeals in 2023 - considering the potential expansion of UTRS, and the fact that we could be translating into 2 languages per segment - we are looking about 1 million per year

SQL ``` SELECT SUM(LENGTH(appealfor)) AS character_count FROM beta.appeals WHERE appealfor IS NOT NULL AND submitted like '2023-%'; ```