Skip to content

Instantly share code, notes, and snippets.

@sidedwards
Last active August 16, 2019 14:41
Show Gist options
  • Save sidedwards/f7ae8d1953c93601e7eee0a595b7382f to your computer and use it in GitHub Desktop.
Save sidedwards/f7ae8d1953c93601e7eee0a595b7382f to your computer and use it in GitHub Desktop.
Create List of Translation Entries
-- Don't forget to add table prefixes if necessary
select distinct tf.`elementId` as 'Entry ID', c.`title` as 'Entry Title', s.name as 'Target Site'
from translations_files as tf
inner join `content` as c
on c.`elementId` = tf.`elementId`
and tf.`status` != 'published'
inner join `sites` as s
on tf.`targetSite` = s.id;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment