Expose translate fn
Translate data in core.js