def getTextAndLocale(self, locale=['en']):
    'Like getText(), but additionally returns the language of whatever\n        text was found first.'
    if (type(locale) == str):
        if self.get(locale):
            return (self.get(locale), locale)
    elif (type(locale) in (list, tuple)):
        for key in locale:
            if self.get(key):
                return (self.get(key), key)
    if self.get('en'):
        return (self.get('en'), 'en')
    for key in self._possible_keys:
        if self.get(key):
            return (self.get(key), key)
    return (None, None)
Like getText(), but additionally returns the language of whatever
text was found first.
def getTextAndLocale(self, locale=['en']):
    'Like getText(), but additionally returns the language of whatever\n        text was found first.'
    if (type(locale) == str):
        if self.get(locale):
            return (self.get(locale), locale)
    elif (type(locale) in (list, tuple)):
        for key in locale:
            if self.get(key):
                return (self.get(key), key)
    if self.get('en'):
        return (self.get('en'), 'en')
    for key in self._possible_keys:
        if self.get(key):
            return (self.get(key), key)
    return (None, None)