def get_language_to_text_map(element):
    """Return a map of languages to text in an InternationalizedText element."""
    language_map = {}
    if element is None:
        return language_map
    intl_strings = element.findall('Text')
    for intl_string in intl_strings:
        text = intl_string.text
        if text is None or not text:
            continue
        language = intl_string.get('language')
        if language is None or not language:
            continue
        language_map[language] = text
    return language_map
