Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Fix multilingual strings displayed in frontend hooks #41

Merged
merged 1 commit into from
May 22, 2019

Conversation

alexej-d
Copy link
Contributor

@alexej-d alexej-d commented Nov 4, 2017

Without this fix the caching system only caches a single language version of any frontend block, which renders multilanguage shops impossible, as the same language version of the templates is displayed for every shop language.

Before the patch hookDisplayProductPriceBlock_price.tpl renders this following text:
In the english shop Shipping excluded
and this text in e.g. the german shop Shipping excluded

After the patch hookDisplayProductPriceBlock_price.tpl renders this following (correct) text:
In the english shop Shipping excluded
and this text in e.g. the german shop Zzgl. Versandkosten

@Nobodaddy
Copy link
Contributor

👍

@rblaurin
Copy link

This fixes PrestaShop/PrestaShop#9766

@rblaurin
Copy link

This is an important fix and it is working like a charm ;)
Any chances to being merged for 1.7.6?

Copy link
Member

@eternoendless eternoendless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@eternoendless eternoendless changed the base branch from master to dev May 20, 2019 16:22
@sarahdib
Copy link

Hello @alexej-d
thank you for your contribution :)

@eternoendless
Copy link
Member

Fixes PrestaShop/PrestaShop#9766

Thank you @alexej-d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants