bug: translation hangs on syntax error in translator on 5.0.96.4

When translating with https://gist.github.com/79538591388d49da10377cf7fea9eb25, translation hangs.I'm fixing the bug in the translator of course.
Sign Inor Registerto comment.