wmk

@robjingram @3dgoo I pushed my latest tests on pages / published pages. Can you please have a look if I missed anyhting important? I didn't test if Versions have been translated correctly yet

wmk

phew, it seemed I got the old translated fields in the published record. As they only exist in DB I had to re-grab them in my test case

wmk

@tractorcow can you please spend some insight on how DB structure for partly translated dataobjects should be after migrating?

robjingram

TBH not 100% sure. I'd assumed that a null field in the locale row would go back up the fallback chain but I haven't checked the source to confirm that

wmk

by the way: how should the result be if only one locale (or not all) are translated yet? Should there be a row for each locale in "localised" table or do we need to check in mysql that at least one old translated fields is not null?

robjingram

Only had a brief chance to look at @wmk tweaks to the script today but looks great for excluding non-versioned DOs