Translations are stored in our database.
We also keep a version of the most translated page in our caching system to serve the content to your visitors the most quickly we can.
It has the double advantage of saving your server resources and being able to process complex tasks on the translated content such as translation global replacement rules.