Help with compress language codes


I need to compress some blocks on functions related to the language of the device since currently with the code I have, what I am trying to do is not working for me.

What I try, in a simplified way, is:

If the languages ​​are A, B or C, run A.

If the languages ​​are different from A, B or C, run B.

The blocks are as follows, I have the same problem in both:


Any suggestion to compress them effectively?

Thank you very much.


Thank you so much, I’m goint to try it! :smiley: