Move lang_flags to fpd