Yandax Translate API / Google Translate API are all convenient to use, but people are concerned about "Privacy" since user data must be send to the remote to do the translation work
NLLBTranslateServer 100% run on your device, zero tracking
Please place the binary alongside with your model folder, "The File and Folder Name" must be the same as the picture
In terminal
- type
sudo chmod 777 path/to/NTS_darwin
to allow the executable to run and fetch nllb files - type
xattr -cr path/to/NTS_darwin
to eliminate warning from Apple Signature - type
./NTS_darwin
to start server
Everything is now ready 🌟
- http://127.0.0.1:8080/ : accept GET request, return current server status
- http://127.0.0.1:8080/help : accept GET request, return help message (available languages for translation)
- http://127.0.0.1:8080/translate: accept POST request, please contain the fields within the following picture
Great model to be used in translation task
Please go to this link and download, the things that you would need are prepared for you 😃.