Partial string extraction and translation