     /// - parameter language: language 2 character code
     public static func setLanguage(_ language:String){
         if languageCode != language {
+            self.leaveLanguageRoom();
             languageCode = language
             loadLanguage(code: language);
             //NotificationCenter.default.post(name: Notification.Name(rawValue: "LOCALIZATION_CHANGED"), object: self)

        self.sendMessage(type: "join", data: ["room":name])
    }
    
    private static func leaveRoom(name:String){
        self.sendMessage(type: "leave", data: ["room":name])
    }
    
    private static func sendMessage(type:String, data:SocketData...){

            }.resume()
    }
    
    
    
    /// Load initial language
    private static func initialLanguage(){
