def load_csv_translations(fname, pfx=''):
    """
    Load translations from a tab-delimited file. Add prefix
    to the keys. Return a dictionary.
    """
    translations = {}
    with open(fname, 'r', encoding='utf-8-sig') as fIn:
        for line in fIn:
            line = line.strip('\r\n ')
            if len(line) <= 2 or line.count('\t') != 1:
                continue
            key, value = line.split('\t')
            key = pfx + key
            translations[key] = value
    return translations