Glotter is a self-hostable translation server. This server uses firefox translation models see. Kindly note that glotter is not affiliated with The Mozilla Foundation in any way.
The implementation is heavily inspired from our other app LocalTranslate
The API provides 5 endpoints where only 3 of them are relevant for most of the usecases.
- /translate - Takes text, from and to language codes and translates the text.
- /transliterate - Romanizes text, useful for romanizing non-latin languages
- /languages - Returns a list of languages and their ISO codes that are supported by this API
- /version - Responds with the current version of the API
- /source-code - Redirects to this github page