Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 01:50 PM   #1
star-soup
Member
star-soup began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra Colour
Help installing jq for a translation hack

I use my Kobo to read in a second language I am learning. I've been able to follow what some others have done and set up a translation feature using NickelMenu and a DeepL API key. This is the code someone shared with me which I was using in my NickelMenu:
Code:
menu_item :selection :DeepL Translation :cmd_output :9999:/usr/bin/wget --header='Authorization: DeepL-Auth-Key $MY_KEY' --post-data='target_lang=EN&text={1|S|%}' -qO - https://api-free.deepl.com/v2/translate | jq '.translations[0].text' | fold -s -w 55
On a previous Kobo I owned, I was able to get this to work fairly seamlessly. However as I am setting up a new one this year, when I use the same translation hack as before, it returns this error:
Code:
/bin/sh: jq: not found
I was advised to install the latest KoboStuff package to ensure that jq was installed. I did so, but I'm still getting the same error. Any guidance on how to either get jq running on my Libra Colour or an alternative method for getting the translation API to work?
star-soup is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW2 bricked after installing Fonts hack antistatic Kindle Developer's Corner 14 04-07-2017 11:37 AM
Problem installing Kindle ScreenSavers Hack ratchetclank Kindle Developer's Corner 3 12-30-2015 09:59 PM
Need clarification on installing screensaver hack everyday_kindle Kindle Developer's Corner 3 05-05-2011 07:43 PM
Questions re: Installing Hack friktion Amazon Kindle 9 10-24-2010 06:14 PM
Trouble installing screensaver hack on Kindle 2 sparrowlight Kindle Developer's Corner 2 12-17-2009 11:17 PM


All times are GMT -4. The time now is 04:34 AM.


MobileRead.com is a privately owned, operated and funded community.