The Magic Frog in Your Language! (Development Update)

in #utopian-io7 years ago

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



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

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

Sort:  

Get ready to be flooded with PRs! :D

Okay... But you will have to find a way to introduce other languages like my language - Yoruba... I can help you with that anyway...

Well, there will be a version for every language with a community. I know that there are many different African languages. I once wanted to make the Utopian website for African people. But I was told that this does not make much sense because everyone will be fine with languages like English or French and if you want to support African languages you would have to support more than one. Yeah so,.... I don't really know. But sure, your help is appreciated!

Good @mkt. Though, I just got to know what you're developing but, it looks great and I hope you would extend your translation to African languages. Good luck and good job!

Hey, thanks! Sorry but I'll just copy/paste what I wrote above in the other comment:

Well, there will be a version for every language with a community. I know that there are many different African languages. I once wanted to make the Utopian website for African people. But I was told that this does not make much sense because everyone will be fine with languages like English or French and if you want to support African languages you would have to support more than one. Yeah so,.... I don't really know. But sure, your help is appreciated!

Same is true for you of course. If you want to help, it's very appreciated!

  • I like the simplicity of the code, very readable and logical.
  • Innovative way to use block reward pool.
  • ...and you're welcome.

Your contribution has been evaluated according to Utopian rules and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post,Click here



Chat with us on Discord.
[utopian-moderator]Need help? Write a ticket on https://support.utopian.io/.


Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!Hey @mkt

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

How about in Afrikaans? lol
I upvoted and followed you; follow back and we can help each other succeed :)

...he...was..right

Frogs unite!

Indeed, brother!