Fix translation for regression

Fixes #204