When creating functional tests (extending BrowserTestBase) for a D8 site, how would I go about changing the default language of the site being temporarily created by BrowserTestBase?
I'm trying to run tests on a site in a non-English language, and I'd like to avoid confusion by using English terms etc. in test cases.
As far as I see, Drupal/Core/Test/FunctionalTestSetupTrait.php sets the default langcode to be 'en' (in the installParameters method) and there's no option to specify custom installation parameters. Besides hacking this manually, is there a more elegant, "proper" way of changing this behavior?
If that's not possible, then would it be possible to change the site's language after it's created, maybe in the setUp method of the test class?