Fixed default language in Ajax message, closes #872