The Magic Frog in Your Language! (Development Update)

the-magic-frog

This is maybe one of the most important updates. There will not only be an English version of The Magic Frog but one for every language that has a considerable existing community here on Steem. I started with the German version, since that's my native language.

Repositories

https://github.com/mktcode/the-magic-frog
https://github.com/mktcode/the-magic-story-machine

New Features

image.png

Website

The website can now run in multiple languages. But every language needs its own instance and runs on a subdomain (well, except English as the "main" language). So for now we have only the two:

It uses Vue i18n to translate the texts and the locale is determined by the subdomain which must be explicitly configured as an environment variable.
Depending on the locale the account to work with is chosen.

Bot

The bot now also allows to be set to a specific language by setting an additional environment variable.
There's now a locales.js to hold the translations for the post's title, permlink, intro and footer and the transfer memos when rewards are being distributed.

Proof of Work

Website:
These are the main commits:

This one and all other commits involve only minor changes, updated texts, fixed a bug here and there and so on.

Bot:

And then again, starting here, all other commits are minor fixes/changes. Oh yeah, for example the bot can now handle more than 100 posts! :D

Special thanks to @helo!

Thank you for doing the groundwork and submitting the first PR! :D

Next Steps

French Version

@helo, I'll try to hurry up a bit! French version some day next week maybe? :)

Wallet Integration

@aneilpatel is working on it. Thanks!
https://github.com/mktcode/the-magic-frog/pull/5
I just didn't have the time to check it out yet. Will happen tomorrow.

Global Pot

I plan to set the account @the-pot-of-gold as a beneficiary to collect rewards across all languages and then, once a month maybe, we can raffle another hopefully big pot! Hooray!!! I just have to think a bit about the exact conditions.

Stay tuned and happy storytelling!
https://the-magic-frog.com

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center