Code-switching is attributed to the act of a person casually switching between at least two different languages or dialects, which is typically done through oral conversation. This is often used as a signal to others who also identify within these same cultural norms. However, code-switching is often viewed as an interruption to the conversation.
Translanguaging is the way that bilingual people relate to their languages. Translanguaging is rooted in the mindset of the speaker themselves instead of the outside world.
Translanguaging refers to the personal identity and relationship with languages that a person has and moves beyond the face value of code-switching. Whereas, code-switching refers to the movement between at least two languages or dialects.