Insert "do not edit this file" notice to translated files
Extract translation process to a method
Insert "do not edit" notice