automatic POT template generation