Rosetta Demo Server
Endpoints
GET **/supportedLanguagesPOST **/translate
Translation Providers
/api/legacy/**- Uses @vitalets/google-translate-api, a reverse engineered wrapper of the translate.google.com API, with Firebase Firestore caching.
/api/v2/**- Uses Google Cloud Translation API (Basic) with Firebase Firestore caching.
/api/v3/**- Uses Google Cloud Translation API (Advanced) with Firebase Firestore caching.
/api/msft/**- Uses Microsoft Translator API with Firebase Firestore caching.
Caching
Check the X-Translation-Cache-Hit-Count and X-Translation-Cache-Miss-Count to see how many strings were cached and not cached respectively.
Inspect Cache Ratio
You can inspect the cache ratio here