Switch the page to another language: click the language switcher's link for it when there is a visible one, else open the page's language alternate.
Examples
When I switch the language to "de"
And I switch the language to "fr"
When we switch the language to "de"
And switch the language to "en"
When I switch the language to "pt-br"
Pattern
When(/^(I |we )*switch the language to "([^"]*)"$/, …)
Part of @webship-js/hubspot-cms-steps (github.com/webship/hubspot-cms-steps), a step pack for Webship-js 2.0.x.