add more languages opiton in ai tools
When i use the ai tools like summarization it don't have the thai language as an option in target language even through the model that i use are fully supported thai language
so it would be nice if it have more language selection for ai tools so more of the people can use the ai tools without a problem
Idea discussion. Check comments.
-
AdminConstantine
(Admin, ONLYOFFICE)
commented
You can add necessary language by yourself. I will leave this idea open for the users who come across the same requirement.
You need to locate the AI plugin folder on your device: from the root directory installation of Desktop Editors go to editors\sdkjs-plugins\{9DC93CDB-B576-4F0C-B55E-FCC9C48DD007} and open summarization.js file with any text editor.
Find the array that defines the list of languages for summarization: https://github.com/ONLYOFFICE/onlyoffice.github.io/blob/master/sdkjs-plugins/content/ai/scripts/summarization.js#L61
For instance, for Thai language you can add a line like that:
{ nameEn: 'Thai', nameLocale: 'Thai', value: 'th-Th'}Save the change and restart Desktop Editors. After that your language will appear in the summarization window of the plugin and will return results in this language too (unless content is incorrect).
I hope it helps.