def trans_ledu(ledu):
    """
    Translates the level of education code to a human-readable string
    """
    retStr = 'unknown or unsupplied'
    if ledu == 'p_se':
        retStr = 'Ph.D. in STEM'
    elif ledu == 'p_oth':
        retStr = 'Ph.D. in non-STEM field'
    elif ledu == 'm':
        retStr = 'Masters or professional degree'
    elif ledu == 'b':
        retStr = 'Bachelors degree'
    elif ledu == 'hs':
        retStr = 'Secondary/high school'
    elif ledu == 'jhs':
        retStr = 'Junior high school'
    elif ledu == 'el':
        retStr = 'Elementary school'

    return retStr