Skip to content

Instantly share code, notes, and snippets.

@m4tlch
Created May 1, 2015 08:13
Show Gist options
  • Save m4tlch/ecc24408f50b8fa1b9ea to your computer and use it in GitHub Desktop.
Save m4tlch/ecc24408f50b8fa1b9ea to your computer and use it in GitHub Desktop.
That deleted all locale strings without translation. The ones that really exist will be rebuilt on the next page access. All others are gone.
DELETE locales_source FROM locales_source left join locales_target lt using (lid) where lt.lid is null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment