У нас вы можете посмотреть бесплатно OXID eSales Academy - Module Translations или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Adding Translations and Currency Switching to OXID eShop Modules Welcome to the OXID Academy training! In this comprehensive tutorial, we'll delve into adding translations and implementing currency switching functionality to OXID eShop modules. Specifically, we'll focus on a module that introduces a simple banner to the header area of the shop. What You'll Learn: x Translation File Structure: Understand the organization and naming conventions for translation files within module directories. x Creating Translation Files: Learn how to create separate directories for each language and define translation arrays in PHP files. x Using Translation Variables: Explore the translate function and its usage to replace raw text with translations in Twig templates. x Handling Placeholders: Understand how to handle placeholders in translation strings using additional arguments in the translate function. x Implementing Currency Switching: Discover how to use Twig extensions from the OXID framework to format prices based on the selected currency. x Ensuring Correct Price Presentation: Learn how to retrieve the currency and use it in Twig templates to ensure accurate price display. x Testing Language and Currency Switching: Ensure that your shop displays the appropriate output when switching between languages and currencies. Key Highlights: x Organizing translation files and directories within module structures. x Implementing translation variables and placeholders for dynamic content. x Utilizing methods to retrieve and manipulate currency information. For more tutorials and information about OXID eShop development, check out our other videos or visit the online documentation.