translation support

This fixes #2