refactor language control panel to reuse the already existing one in plone.app.controlpanel