Skip to main content

Translation override file deleted after saving product

More
6 years 4 months ago - 6 years 4 months ago #319002 by Lumiga
-- url of the page with the problem -- :
-- HikaShop version -- : 4.3.0

Because of these two language overrides Hikashop delete all the overrides after saving a product.

Why are these two not correct? It worked fine with the older versions.

This message contains confidential information


Kind reagrds,
Lumiga

Kind regards,
Lumiga
Last edit: 6 years 4 months ago by Lumiga.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #319003 by nicolas
Hi,

That's because of the way we parse the ini file to add the translations (we use the parse_ini_file function of PHP: www.php.net/manual/en/function.parse-ini-file.php while Joomla parses the translation files differently).
You should use single quotes instead of \"
That's what we do in our translations as the double quotes are used to delimit the translations and if you have double quotes inside them, it can mess with the parsing done.
The following user(s) said Thank You: Lumiga

Please Log in or Create an account to join the conversation.

Time to create page: 0.166 seconds
Powered by Kunena Forum