Term: code switching
Example: she talks [street] to her friends at school, but when she is with her family, she is code switching and speaks proper english
Definition: to customize style of speech to the audience or group being addressed