Why has my "languages" function stopped working?