Switching locale in application? Just another know-how

Say, you need to implement a language switch in your SPA (single-page application). The “standard” way is to store this setting in every View of Ractive.js translation dictionary and push JSON’s into the embedded views. This all works fine but complicates further support and maintenance…