Fix translation for regression

Fixes #205