In wikimedia hackathon, I saw a demo of using telegram bot to translate strings from translatewiki.net
here are the notes about it.
Telegram Translation Bot: https://phabricator.wikimedia.org/T131664 DONE
Translate on translatewiki.net without leaving your Telegram app
mediawiki.org page: https://www.mediawiki.org/wiki/User:Amire80/chat_bot_draft
Phabricator: amire80 * Wikipedia: Amire80 * Twitter: @aharoni
Amir E. Aharoni and Taras Bunyk presenting
Justin Du (MtDu), Taras Bunyk, and help from Brian Wolff, Madhvuvishy, bd808, Niklas Laxström, Jon Robson, and more people!
“Most people don’t speak English”
Translatewiki.net – thousands of messages to translate
can now translate through this simple mobile app instead of needing to load the full site in a browser
selects untranslated strings, in your preferred languages, sends them to you, and you translate, and it submits them to translatewiki
Long messages are automatically skipped to fit a use on mobile.
Thinking as we can build a bot to translate the strings for mozilla and openstreetmaps.
Need to get your inputs/thoughts/ideas for this.
These links may help to build a telegram bot for translations.
use this command to get the po file in /tmp/ta.po
zanata po pull –url https://translate.zanata.org/ –project-id TamilMap –project-version 1 –transdir /tmp
We can process the po file using polib
There are many python libraries to create a telegram bot.
With all these tools to create a bot, to process Po files and zanata to host the translations, we can connect them all.
If any one is interested in programming for this, reply here.