Tuto WEBDEV 25
242 Part 5: Let’s continue the development Localizing a programming message All messages found in your program can be translated into several languages. Let’s see how to translate a programming message: 1. Display the code editor (press F2 on the PAGE_List_of_products" page). 2. Write the following code in the "Global declarations" event: sMyString is string = "French" 3. To translate this type of message, position the cursor in the "French" string and press Ctrl + T. On the "Code" pane, in the "Languages" group, you can also expand "Translate strings" and select "Translate messages". 4. The window for editing a multilingual message is displayed. This window allows you to translate all messages of your program into all project languages. 5. In the "French" section, type "Français" and validate. 6. The icon as well as a digit appear in the code editor. These icons indicate that the multilingual message exists in 2 languages. 7. Close the code editor.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==