 
         @polyglot.extend locales
         window.t = @polyglot.t.bind @polyglot
+        Date.setLocale @locale
 
         Router = require 'router'
         SocketListener = require '../lib/socket_listener'


        if window.initalarms?
            @alarms.reset window.initalarms
            @events.reset window.initevents
            delete window.initalarms
            delete window.initevents

        Backbone.history.start()

module.exports =

    initialize: ->

        window.app = @

        @locale = window.locale
        delete window.locale
