def get_named_lang_scrs(family_id_to_lang_scr_to_sample_key):
  named_lang_scrs = lang_data.lang_scripts()
  supported_lang_scrs = set()
  for family_id in family_id_to_lang_scr_to_sample_key:
    lang_scrs = [
        l for l in family_id_to_lang_scr_to_sample_key[family_id].keys()
        if l in named_lang_scrs]
    supported_lang_scrs.update(lang_scrs)
  return supported_lang_scrs
Return the list of lang_scrs whose names appear in the UI.
dataset/ETHPy150Open googlei18n/nototools/nototools/generate_website_2_data.py/get_named_lang_scrs