Scope issues seem to cause problems where the main compile step can't find the translation step, so even though it's messier, this code is now in the parent scope. Fixes #1595
Scope issues seem to cause problems where the main compile step can't find the translation step, so even though it's messier, this code is now in the parent scope. Fixes #1595