Jump to content

.TPL více jazyků


Gijo17

Recommended Posts

Zdravím, potřeboval bych poradit jak udělat, aby se soubor blockreinsurance.tpl zobrazil v každém jazyce jiný? Pouze CZ, EN.

 

Snažil jsem se to vyřešit takto, že jsem do souboru blockreinsurance.tpl umístil tento kód:

 

{if $language.iso_code == "cs"}{include file="/modules/blockreinsurance/blockreinsurance.tpl"}

{elseif $language.iso_code == "en"}{include file="/modules/blockreinsurance/blockreinsurance_{$lang_iso}.tpl"}

{else}{include file="/modules/blockreinsurance/blockreinsurance.tpl"} {/if}

 

Ale to se nenačetlo vůbec. Prosím o rady. Díky :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...