Both parents speak both languages to the child but separate the languages according to speaking situations or alternate days.
(Both parents; speak; both languages; to the child) (Both parents; separate; the languages)
Both parents Both parents
speak separate
both languages to the child
the languages