add english french toggle function