fix translate if empty array
Merge pull request #29 from thomaroger/troger-fix-empty-translate

fix translate if empty array