This starts from school. If you encourage young girls to take tech related subject, they will go to tech related jobs.

Asian parents, for instance, push their daughters to STEM subjects a lot more than western parents. I have seen my nieces in the US being more obsessed about being "girly" than jobs or science. The idea that tech jobs are nerdy, unfeminine and not cool extends to both genders, but at least some boys ignore it.