Update entry title for all sites I'm working on a Craft project that has 3 sites. The content for one section is pulled from an API using a console script which runs every 5 minutes.
This has been working fine but I've discovered a bug that the title's aren't being updated across all sites as they are translatable.
This is my current code.
$entry-&gt;title = $data-&gt;name;
$entry-&gt;setFieldValues([
    'body' =&gt; $data-&gt;text,
    'relatedArticles' =&gt; array_map(function($id){
        return [
            'relatedId' =&gt; $id,
        ];
    }, $data-&gt;related),
    'categories' =&gt; array_map(function($cat) {
        return (isset($this-&gt;categories[$cat])) ? (int) $this-&gt;categories[$cat] : false;
    }, $data-&gt;categories),
]);
$success = Craft::$app-&gt;elements-&gt;saveElement($entry);

All other fields are not translatable so they work fine, Is there a way to propagate the title across all sites or do I need to loop through all the sites to update the entry?
Assuming you're on the latest 3.5.x release, then my guess is you need to set the &quot;Title Translation Method&quot; setting for whatever Entry Type you're saving to to &quot;Translate for each site&quot;.