translate units
Merge pull request #1145 from marqh/invalidunits

translate units