Goldman Sachs interview question

How would you implement a language conversion program?