transcode interpolate string to template string