Improve wavelength update when language changes