Nonlinear internal waves in a two-liquids system