added target language support as a parameter to translateFN