Search in other than current language

I use Kirby as a CMS in a bigger online platform and need to do a search in a specific language.
I know how to access field data in other languages with ->content(‘en’) but how can I perform a search in a specific language?

This is how I perform the search right now but how to search in a specific language?

$kirby = new Kirby();
$site = $kirby->site();
$p = $site->search($value,$key)->first();

Try to set the language via $site->visit(), kirby/src/Cms/Site.php at c1e6ff77b056774543f201035f5dab6a02bfdb3b · getkirby/kirby · GitHub

ok thank you for poinitng in the right direction. I ended up doing this which worked better in my setup:

kirby()->setCurrentTranslation($languageCode);
kirby()->setCurrentLanguage($languageCode);