Get entry by language in a module I'm trying to get some auto translating done in a craft module. In order to do this I need to get the entry of another language in a save event. Is it possible to get this by language?

Event::on(
        Entry::class,
        Entry::EVENT_AFTER_SAVE,
        function(ModelEvent $event) {
            $entry = $event-&gt;sender;
            $isNew = $event-&gt;isNew;

            if ($isNew) {
                $enEntry = $entry-&gt;getEntryByLanguage('en');
            }
        }
    );
Something like this should work:

Event::on(
        Entry::class,
        Entry::EVENT_AFTER_SAVE,
        function(ModelEvent $event) {
            $entry = $event-&gt;sender;
            $isNew = $event-&gt;isNew;

            if ($isNew) {
                $enEntry = Entry::find()-&gt;id($entry-&gt;id)-&gt;site('enSiteHandle')-&gt;one();
            }
        }
    );


Just swap out enSiteHandle with your actual English site handle.