language dropdown online and offline