This commit is contained in:
AliasAlreadyTaken 2024-06-12 09:03:58 +02:00
parent d59c6b6e2e
commit 3abd93514e

View File

@ -1,4 +1,48 @@
This file holds a couple of editors notes regarding the mod.
Todo's can be noted here, known issues, the path to ressources or general annotations.
There once was a translation so fine,
From AI, with algorithms divine.
It translated with flair,
But sometimes didn't care,
If the meaning was lost in its line.
I want to understand people, even those who speak languages I haven't even heard of. We need some sort of translation.
Unfortunately I am not happy with sending off our words to yet another proprietary service. We need to make translations happen locally.
There is https://content.minetest.net/packages/Droog71/chat_translator/ but it has a hostile license (AGPL). It does NOT require insecure env, but only http env
There is also https://content.minetest.net/packages/ksandr/yatranslate/ but this requires a yandex API key and all our words would go there.
Means, nothing is free until we make it.
User interface
1. autotranslation from chat. Players can either choose (boolean) to translate everything or list (table) languages of other people they want autotranslated
2. Direct command: Translate the last n messages, Translate the last n messages of player, translate the last n DMs THIS player sent to me
3. Lengthy text: Open a formspec and insert the text, choose a target langauge and get the text back translated into the chosen language
4. Rightclick a poster or signpost with a translate item opens a formspec with the translated text
5. Guess the language of a player, based on their client settings, IP address or language detection. n:m problem, storage
Backend
1. Let's make it connect-able to various translation frameworks
Structure
level 3 API generic translator:
- yl_translate.request(from, to, text, callback)
level 3 API
- yl_ollama
- yl_yandex
- yl_libretranslate
level 3
- settings
level 4 content
- items, formspecs, settings