Please add a short description, perhaps just `Calculates the list of preferred languages from the known languages`.