Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Icon by A’Design Award & Competition, Onur Müştak Çobanlı and Farhat Datta
Toloko is Sesotho for interpreter.
Toloko is a text translation tool for the command line that supports dozens of source and target languages. It requires a terminal emulator that supports UTF-8 encoding; I prefer Terminator. For more info, see the wiki.
To initialize the config file and load themes, your NODE_PATH environment variable must point to the lib/node_modules directory of the Node.js installation. You can set this path automatically like this:
export NP=$(which node)
export BP=${NP%bin/node} #this replaces the string '/bin/node'
export LP="${BP}lib/node_modules"
export NODE_PATH="$LP"
Provided these lines are towards the end of the shell initialization file (at least after any NVM stuff) this should work for a system installation of Node.js and nvm.
Add all of this to .bashrc, .zshrc, Windows env, etc. then:
npm install -g toloko
toloko config init
iloa has a built-in help system for CLI parameters and options. Access it with toloko -h|--help [command] [subcommand]
. There is also the wiki.
Here are some examples:
// Get a translated sentence with the word 'tree' in German from Glosbe
toloko gl ex --source eng --target deu tree
// Translate 'despues' from Spanish to English using Hablaa
toloko ha tr -s spa -t eng despues
// List Hablaa's supported languages
toloko ha ls
// Translate 'hello' from English to Russian using Yandex
toloko yx tr --dir en-ru hello
// Detect language using Yandex
toloko yx dt привет
// List Yandex's supported languages
toloko yx ls
See the tests for more.
Toloko is one of three command line utilities along with Leximaven and iloa that puts enormous power at your fingertips. Try them alone or together!
These following links can help you use Toloko or perform related tasks.
Many thanks to all contributors to the gems used in this project! And thanks to the creators and maintainers of the APIs that this tool consumes. Glosbe, Hablaa and Yandex are awesome!
Powered by Hablaa
Powered by Yandex.Translate
FAQs
A command line tool for translating words.
The npm package toloko receives a total of 0 weekly downloads. As such, toloko popularity was classified as not popular.
We found that toloko demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.