Do the number of user flow steps affect the UX of the app?

When decreasing the number of the steps in the user flow affects the app/website usability? is there any reference ?

in the following example, the change language appears in a separate screen is it good ? or because there is only two options merge them in one screen ?

enter image description here