Initial version of translating functionality