React example with language switcher