added method getLanguage to complete reactivity