move language selector to a module