add common name language pref to db preferences