Merge pull request #2 from m038/master

Initial PR
Fixes issue with calling translation function in the wrong way