# i18n-smartling-callback

I18n Service caches requests for translations from builds. Also, Smartling has a callback feature (added when [uploading files](https://help.smartling.com/v1.0/reference#post_projects-projectid-file)) which will triggered whenever a translation is updated for a file.

So this service is a publicly reachable endpoint that makes a request to I18n Service endpoint to clear the cache whenever Smartling triggers the callback to this service.

This uses Rollbar for metrics. The Rollbar token is added as an env var in Beanstalk console. Ideally this should use sandstorm, but it didn't work on an first attempt.

URL:
* Staging env: staging-i18n-i18n-smartling-callback-env
* Production env: production-i18n-i18n-smartling-callback
