DiscordWikiBot is a console application that powers WikiBot, a Discord bot used by a number of Wikimedia community servers on Discord. It currently has scattered translations in 9 languages supported by the Discord community server owners (see list). To make translation process easier both for myself and translators, I would like to add the project to Translatewiki.net.
Messages could live under Wikimedia namespace if possible (with prefix dwb- or discordwikibot-). I will probably prefer less frequent commits (every two weeks?). There’s a lot of really small messages, so maybe the threshold also should be higher (25-50%?). Deployments are usually happening whenever there’s an update, but I will probably do them once a month anyway for new translations.
I’ll add message documentation and translators page around the time when we will add the messages to Translatewiki.net.
- Name: DiscordWikiBot
- Logo: none yet
- Repo: https://github.com/stjohann/DiscordWikiBot (MIT licence)
- Description: Discord bot for Wikimedia projects and wiki sites
- File format: Same as MediaWiki’s, except for differences in message syntax. Path to messages is ./DiscordWikiBot/i18n.
Localisation notes
Localisation files use SmartFormat library’s syntax. Plural support is available, but is done slightly differently ({0:singular|plural}). Gender support is available, but not used or supported in the bot.
Discord’s Markdown syntax displays line breaks immediately (\n), unlike MediaWiki’s syntax (\n\n). Discord (not the bot) has no RTL support (see feature request).
Possible problems
Existing Serbian localisation is filed under sr.json (Serbian), but possibly should be under sr-ec.json (Serbian Cyrillic).
There are some messages that could count as ‘lego messages’ (bullets/dashes), let me know if it is better to fix it.