Is there a way to have a question trigger a language change on a CommCare survey?

Hi! I am creating a CommCare survey with multiple languages. Is there a way to trigger a language change on CommCare by using logic built into a language preference question?

For example, can I ask:

What is your preferred language:

  1. English
  2. Spanish

where the response to that question would trigger a language change? Any input regarding this would be much appreciated!