Read the statement by Michael Teeuw here.
MMM-Random Fact
-
Well…
“Eureka!”Apparently the problem is solved using this hack. There seems to be an issue with the google-translate-api npm module that some users solved with a fork.
@cowboysdude look at it and let me know what you think.
If the issue/solution is confirmed a workaround would be to have a working fork installed via npm.(need to get back to work now!!..)
-
It’s odd that noone else seems to have the translation problem.
However, I have just pushed a PR including a promise.catch function in case translation does not work.
This module still only works with the “manipulated” google-translate-api" for me.Love your module, @cowboysdude . Many great facts received in recent months.
-
@cowboysdude
I’m afraid the link is broken in your module.
Directly visiting http://www.fayd.org/api/fact.xml redirects to a facebook page.Node_helper.js returns a promise rejection because there’s no
body
element to be fetched.
Can you please check? -
@lavolp3 Thank you!! That is very interesting and I will look into that right now!!! Will let you know.
I looked…looks like I’ll have to rewrite parts of it and I will and repost as soon as it’s done…later tonight :)
-
@lavolp3 I have it working… it’ll be a day or so to upload it as I do have one very strange error that I want to correct :)
-
-
@cowboysdude hello,
Sorry but nothing to display after new install. Only “obtenir un fait…” (french)
-
@cowboysdude Sorry nothing is showing… only (Eine Tatsache bekommen) German
-
@Stoffbeuteluwe Not sure why it’s working here… so if you can PM me and I’ll have you try something to see if it’s the api or something else. Thanks
-
@cowboysdude hello,
what can we do to check ? thanks…i have update (latest and stable) npm and the same result