Jump to content

Templates translation problem


piotr.jozwiak

Recommended Posts

Hi! I am developer of tpay.com payment extension for prestashop 1.7.

My module loads some template files and build 1 template from some others.

I use extending like this:

 

First file "paymentBasic.tpl" extends page.tpl :

{extends file='page.tpl'}

second file "paymentBanks.tpl" extends first one:

{extends file="$tplDir/paymentBasic.tpl"}

and 2 more files extends previous ones.

 

This method of building works very well but there is a problem with translation of its contents.

There is always first template translated, and second, third and four'th are not.

This situation does not depend on files itself, because when I turn off first one, the second becomes first and is translated well.

 

Is this a bug or am I missing something?

 

You can find my module here Download

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...