User blog:ItzATA/Language

so i have this wiki, And i saw a cool little thing in another wiki where there was a flag emoji, then if you clicked say, the chinese flag, it would turn to chinese. How can i do that?