Abstracted language pref code