def get_catalogue(self, locale=None):
if locale is None:<EOL><INDENT>locale = self.locale<EOL><DEDENT>if locale not in self.catalogues:<EOL><INDENT>self._load_catalogue(locale)<EOL><DEDENT>return self.catalogues[locale]<EOL>
@type locale: str
@rtype: MessageCatalogue