Search code examples
prestashop

Prestashop how to add static contents in different language in tpl file


I need add some custom text in Prestashop template file, but there are two languages in my store, and I want to add these contents in different language statically? Can I check current language by language id?


Solution

  • statically

        {if $lang_iso == en } 
    
        english text 
        {else}
    
        Other language
       {/if}