# Setting up the tMap component

Availability-note[Beta](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-beta)

Beta content

The tMap component processes the French translation of the description field received from tHTTPClient\_2 by extracting a substring of the translation. This is because the string returned by OpenAI comes with a 2-space feed at the beginning.

## Procedure

1. Double-click tMap\_1 to open its Basic settings view.
2. Click the [...] button next to Map Editor to open the schema editor and:
   1. Add 5 columns that are of String type: id, owner, status, description, and translated\_fr.
   2. Add a row in the upper middle section (that is, the Var section).

      The row contains three columns: Expression, Type, and Variable.
   3. Drag and drop the fr column from the left section into the Expression column in the Var section.
   4. Modify the string in the Expression column as row6.fr == null ? "" : row6.fr.substring(2) .
   5. Drag and drop this row into the Expression column of the translated\_fr row in the upper-right section.
   6. Map other columns in the upper-left section to those with the same names in the upper-right section.
   7. Click OK to close map editor.
3. Leave the other options as they are.

   ![](https://help.qlik.com/talend/en-US/components/8.0/Resources/images/use-case-httpclient-6.png)