changed generate po utils to use functions instead regex