I would like to override a template but only for a specific language (ar_SA
)
The template I want to override is:
Magento_Catalog/templates/product/list.phtml
I have tried putting it in the following locations but it didn't work for any of them:
<VENDOR>/<THEME NAME>/i18n/Magento_Catalog/templates/product/list.phtml
<VENDOR>/<THEME NAME>/i18n/ar_SA/Magento_Catalog/templates/product/list.phtml
<VENDOR>/<THEME NAME>/Magento_Catalog/i18n/templates/product/list.phtml
<VENDOR>/<THEME NAME>/Magento_Catalog/i18n/ar_SA/templates/product/list.phtml
<VENDOR>/<THEME NAME>/web/i18n/ar_SA/Magento_Catalog/templates/product/list.phtml
Any other suggestions or possibilities?
(My Magento version is 2.2.6)