Updated regenerate po procedure for local generation.