Did your issue get resolved? If yes, pls let me know so that we will plan to use the similar logic in our app too. We have more or less similar requirement to toggle the language in all of our screens used.
I have created a function with the below java code as you mentioned earlier. With this code I am able to toggle it by selecting the lang from the dropdown as per my requirement. Feel free to comment on this approach.