add attributes to menu and language slots