Code-switching

action of changing between two or more languages, or language varieties, in the context of a single conversation

Code-switching is an ability when a person mixes more than one language or lect when they talk, depending on who they’re talking to.

change