[translate] add .translate example
Merge pull request #377 from bui/patch-1

[translate] add .translate example