def add(self, translations, merge=True):
        domain = getattr(translations, 'domain', self.DEFAULT_DOMAIN)
        if merge and domain == self.domain:
            return self.merge(translations)

        existing = self._domains.get(domain)
        if merge and existing is not None:
            existing.merge(translations)
        else:
            translations.add_fallback(self)
            self._domains[domain] = translations

        return self
Add the given translations to the catalog.
dataset/ETHPy150Open ibagrak/algae/gae/libs/babel/support.py/Translations.add