diff --git a/docs/4. Product Features/03. Flows/2. Flow Actions/03. Send the contact an interactive message.md b/docs/4. Product Features/03. Flows/2. Flow Actions/03. Send the contact an interactive message.md index 5a89d693a..ca12ca721 100644 --- a/docs/4. Product Features/03. Flows/2. Flow Actions/03. Send the contact an interactive message.md +++ b/docs/4. Product Features/03. Flows/2. Flow Actions/03. Send the contact an interactive message.md @@ -145,3 +145,58 @@ See the + +Step 2: The edit page of the interactive message will open. From the top-right corner, click on the language for which you want to add translations. + +Screenshot 2025-10-29 at 8 53 00 PM + +Enter the translations for the message body and the buttons/list items. Repeat this process for each language you wish to include. + +Screenshot 2025-10-29 at 8 53 21 PM + +Step 3: Click on `Save` + +Step 4: On the flow editor, navigate to the languages on the top right corner. + +Screenshot 2025-10-29 at 8 54 04 PM + +Step 5: Select the language you wish to add translations for. The below screenshot shows the `Hindi` language view. + +Screenshot 2025-10-29 at 8 54 34 PM + +Note: The values entered under validations such as `has only the phrase`, `has a number`, etc. act as rules to verify whether a user’s response matches the expected input. These are grouped into categories, as shown below. Depending on the design, these categories may or may not be visible to the end user. Learn more about `Wait for Response` [here](https://glific.github.io/docs/docs/Product%20Features/Flows/Flow%20Actions/Wait%20for%20the%20contact%20to%20respond). + +Screenshot 2025-10-29 at 8 55 09 PM + +Click on the `Wait for Response` node linked to the interactive message for which you want to add translations. + +In the `Rule Translations` tab and enter the corresponding translations for the button text. In cases where the validation type is set to `has any of the words`, you can add the translated terms as comma-separated values, and continue similarly for other validation types. + +Screenshot 2025-10-30 at 8 44 40 AM + + +In the `Category Translation` tab, you can add translated category names as per your design requirements. If no translations are provided here, the system will use the default values when referenced, for example, in the above case, if hindi category translations are not added, when the category name is referenced as `@results.topic_selected.category.` In Hindi, the default category names (which are in english) will be picked. + +Screenshot 2025-10-30 at 8 44 58 AM + +Step 5: Click on `Ok` + +Step 6: Test the flows in the languages for which the translations were added, to make sure, they have been added correctly and the flow does not break/terminate. + + + + + +