def METHOD_NAME(posource):
    """helper that converts po source to ts source without requiring files"""
    inputfile = BytesIO(posource.encode())
    inputpo = po.pofile(inputfile)
    convertor = METHOD_NAME.METHOD_NAME()
    output = BytesIO()
    convertor.convertstore(inputpo, output)
    return output.getvalue().decode("utf-8")