LibreTranslate is a machine translation API which is entirely self-hosted. This software lets you use open source machine translation in your projects. It uses Argos Translate for its translation engine.
Source: LXer – Machine Learning in Linux: LibreTranslate is Self-hosted Machine Translation