After recalling the definitions of standard port-Hamiltonian systems and their algebraic constraints, called here Dirac algebraic constraints, an extended class of port-Hamiltonian systems is introduced. This is based on replacing the Hamiltonian function by a general Lagrangian submanifold of the cotangent bundle of the state space manifold, motivated by developments in (Barbero-Linan et al., J. Geom. Mech. 11, 487–510, 2019) and extending the linear theory as developed in (van der Schaft and Maschke, Syst. Control Lett. 121, 31–37, 2018) and (Beattie et al., Math. Control Signals Syst. 30, 17, 2018). The resulting new type of algebraic constraints equations are called Lagrange algebraic constraints. It is shown how Dirac algebraic constraints can be converted into Lagrange algebraic constraints by the introduction of extra state variables, and, conversely, how Lagrange algebraic constraints can be converted into Dirac algebraic constraints by the use of Morse families.