def __init__(self, locale):
        """
        Create a new utility object for a specific locale.
        """

        self.popath = 'locale/%(locale)s/LC_MESSAGES/xmlconfig.po' % {'locale':locale}
        self.mopath = 'locale/%(locale)s/LC_MESSAGES/xmlconfig.mo' % {'locale':locale}
        if os.path.exists(self.popath):
            logger.debug('Using existing xmlconfig message catalog.')
            self.pofile = polib.pofile(self.popath, check_for_duplicates=True)
        else:
            logger.debug('Creating new xmlconfig message catalog.')
            now = datetime.utcnow()
            now = now.replace(tzinfo=UTC())

            self.pofile = polib.POFile(check_for_duplicates=True)
            self.pofile.metadata = {
                'Project-Id-Version': '1.0',
                'Report-Msgid-Bugs-To': 'districtbuilder-dev@googlegroups.com',
                'POT-Creation-Date': now.strftime('%Y-%m-%d %H:%M%z'),
                'PO-Revision-Date': now.strftime('%Y-%m-%d %H:%M%z'),
                'Last-Translator': '%s <%s>' % (settings.ADMINS[0][0], settings.ADMINS[0][1]),
                'Language-Team': '%s <%s>' % (settings.ADMINS[0][0], settings.ADMINS[0][1]),
                'Language': locale,
                'MIME-Version': '1.0',
                'Content-Type': 'text/plain; charset=UTF-8',
                'Content-Transfer-Encoding': '8bit'
            }
dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/config.py/PoUtils.__init__/original