View Single Post
Old 08-31-2024, 05:45 PM   #1401
star-soup
Member
star-soup began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra Colour
Hello!
I found a guide on reddit for how to use NickelMenu to create a translation feature on Kobo. However, when I try to use it, I get the following error:
Quote:
/bin/sh: jq: not found
Anyone here know what this error is or how to fix it? For reference the original code to create the translation function was:
Quote:
menu_item :selection eepL 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
star-soup is offline   Reply With Quote