Handle from/to language selection