Updated subtitle language selection logic