Oracle Magazine, July/August 2018
Mobile APPLICATION DEVELOPER 50 You should see a bot response as shown in Figure 4 51 Choose a pizza and then complete the order process 52 Try to memorize the printed order output because this is what you are going to customize in a next set of steps 53 Click Reset 54 Now type Hallo in the Message field and click Send to test German 55 Type Kann ich bitte die Speisekarte sehen to get the menu ORACLE MAGAZINE JULY AUGUST 2018 60 in German 56 Choose a pizza and complete the order process 57 Try to memorize the printed order output because this is what you are going to customize in a next set of steps 58 Click Reset 59 Click the tester icon to close the tester What you just did It may feel like you didnt do much but you actually achieved a lot In configuring a translation service for Oracle Intelligent Bots and enabling autotranslation for the pizza bot you created a multilanguage bot that understands foreign language input and displays messages in the language detected for a user USING RESOURCE BUNDLES Although autotranslation and translation services usually do a good job of translating user input and bot messages they may not do it perfectly every time To ensure reasonably good bot responses or to preserve business terminology from translation you can use resource bundles Resource bundles are key value pairs in which the value is the message string to display to the user Message strings may be provided for each Figure 4 Pizza menu understanding French and translating to French
You must have JavaScript enabled to view digital editions.