3.1 fix, taken from https://github.com/mmichelli/TranslatableDataObject/
Merge pull request #4 from wernerkrauss/3.1

3.1 fix, taken from https://github.com/mmichelli/TranslatableDataObject/