Read the statement by Michael Teeuw here.
MMM-Fortune
-
I do not believe the api supports other languages.
-
@cowboysdude said in MMM-Fortune:
I do not believe the api supports other languages.
You are absolutely right. I checked the api and it is only in English.
-
@Fonfon said in MMM-Fortune:
Great job! is it possible to translate in a other language ?
Thanks. This API is only in English. However, if you can find one in your language I’ll be happy to give it a go.
-
I only see the square blocks where it is supposed to have the Chinese translation.
I used the Raspbian Jessie lite; Is there possibly a dependency that this needs that is not included?
-
First, thanks for trying out my module.
Second, thanks for pointing that out. I neglected to include
npm installinto the~/MagicMirror/modules/MMM-Fortunein the installation instructions of the readme.Other than that, the characters are part of the data itself, as you can see.
[{"fortune":{"message":"One false move may lose the game.","id":"8"},"lesson":{"english":"English-language books","chinese":"英文书","pronunciation":"Yīngwén shū","id":""},"lotto":{"id":"","numbers":[33,55,18,30,17,10]}}]Hopefully, the dependencies will fix your problem. If it is a problem with jesse lite then I really don’t know how to correct the issue.
Let me know how you make out.
-
I just downloaded and re-installed MMM-Fortune just to see what would happen. Before I even installed the dependencies it worked fine, albeit, on my windows dev machine. Installed the dependencies and again, it worked fine. I hope Jessie Lite, or the version of Pi you are using, isn’t the reason for the characters not being displayed.
Screenshot from installation WITHOUT dependencies installed

-
Thanks for the response. I ended up having to install the following
sudo apt-get install fonts-font-awesomeThen ran through the raspi-config again to set to None as default. Guess the Jessie Lite does not include the font your module needed.
-
@TheKyleJohnson90 said in MMM-Fortune:
fonts-font-awesome
That’s interesting… I was also unable to reproduce the issue you had. There must be something different within Raspbian Jessie lite that does this… not really sure but it’s a good catch!!
Did you do this in the root "MagicMirror’ or in the MMM-Fortune directory?
-
@TheKyleJohnson90 said in MMM-Fortune:
I ended up having to install the following
So, it’s working now?
-
@TheKyleJohnson90 said in MMM-Fortune:
Guess the Jessie Lite does not include the font your module needed.
I used default fonts from MagicMirror. They should have been included in your MagicMirror installation. shrug
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
