some examples:
https://gist.github.com/christophstrasen/9c13e1a94c0aff25844e (settings)
https://gist.github.com/christophstrasen/f7ae6424089001aecdc8 (locale)
https://gist.github.com/christophstrasen/847d13719bf557a6b823 (translation)
Ideas: - More comfortable to access via the DOM?
- SEO (but why config settings?)
- Caching