code: def convtable2dict(convtable, locale, update=None):
      rdict = update.copy() if update else {}
      for r in convtable:
          if ':uni' in r:
              if locale in r:
                  rdict[r[':uni']] = r[locale]
          elif locale[:-1] == 'zh-han':
              if locale in r:
                  for word in r.values():
                      rdict[word] = r[locale]
          else:
              v = fallback(locale, r)
              for word in r.values():
                  rdict[word] = v
      return rdict