Use deepl translation in the CLI.
brew tap shu-pf/tap
brew install dpl
brew update
brew upgrade dpl
# If you cannot upgrade
brew reinstall dpl
To use this package, you first need to set an API key and Target Language.
dpl setting
dpl
Press "t" to translate.
Press "q" to quit.
> <text>
> t
<translated text>
dpl <text>
pnpm start
pnpm build