Tuto WEBDEV 25

240 Part 5: Let’s continue the development Localizing an image ▶ To change the logo image used in the PAGE_List_of_products page according to the runtime language: 1. Open the "PAGE_List_of_products" page if necessary. 2.  The logo image is found in the template associated with the page. Therefore, the associated page template must be opened: • Click the logo and display the popup menu. • Select "Open the template". • The page template appears, enclosed by an orange border. 3. Display the description window of logo (double-click the control). 4.  In the "General" tab, on the right of "Image" section, click . Select "Multilingual" from the menu that is displayed. 5.  The window for managing multilingual images is displayed. 6. A different image can be used for each language: • Click the button. • Select "Browse" from the menu that is displayed. This feature is very useful if you are using images containing text. The same image is used in our case. 7. Validate the window for multilingual edit. 8. Close the description window of control. ▶ As we are located in the page template, we are going to take the opportunity to translate the "List of products" menu option.

RkJQdWJsaXNoZXIy NDQ0OA==