Jump to content

Problem with CZECH entities in 1.4.11.0


Assramm (cz)

Recommended Posts

Hello,

 

I have problem with czech entities in translations:

modules - cart block, opc, and else = only in translations, In products are czech characters OK.

For example:

 

Translations of blockcart2:

Here are wrong entites in page of this cart:

<?php

global $_MODULE;
$_MODULE = array();
$_MODULE['<{blockcart2}prestashop>blockcart_20351b3328c35ab617549920f5cb4939'] = 'Přizpůsobení #';
$_MODULE['<{blockcart2}prestashop>blockcart_ed6e9a09a111035684bb23682561e12d'] = 'odstranit tento produkt z košíku';
$_MODULE['<{blockcart2}prestashop>blockcart_a85eba4c6c699122b2bb1387ea4813ad'] = 'Košík';
$_MODULE['<{blockcart2}prestashop>blockcart_86024cad1e83101d97359d7351051156'] = 'produkty';
$_MODULE['<{blockcart2}prestashop>blockcart_f5bf48aa40cad7891eb709fcf1fde128'] = 'produkt';
$_MODULE['<{blockcart2}prestashop>blockcart_9e65b51e82f2a9b9f72ebe3e083582bb'] = '(prázdný)';
$_MODULE['<{blockcart2}prestashop>blockcart_4b7d496eedb665d0b5f589f2f874e7cb'] = 'Detail produktu';
$_MODULE['<{blockcart2}prestashop>blockcart_853ae90f0351324bd73ea615e6487517'] = ':';
$_MODULE['<{blockcart2}prestashop>blockcart_09dc02ecbb078868a3a86dded030076d'] = 'V košíku nemáte žádné zboží';

Here is code html (homepage)

<!-- MODULE Block cart -->
<div id="cart_block" class="block exclusive">
<h4>
<a href="http://example.com/order-opc.php">Košík</a>
<span id="block_cart_expand" class="hidden"> </span>
<span id="block_cart_collapse" > </span>
</h4>
<div class="block_content">
<!-- block summary -->
<div id="cart_block_summary" class="collapsed">
<span class="ajax_cart_quantity" >1</span>
<span class="ajax_cart_product_txt_s" style="display:none">produkty</span>
<span class="ajax_cart_product_txt" >produkt</span>
<span class="ajax_cart_total" >230 Kč</span>
<span class="ajax_cart_no_product" style="display:none">(prázdný)</span>
</div>

..

 

I have charset of page UTF-8, DB is utf8_general_ci (I dont know if this is correct, but translations where I have problem are not in DB - translations are in files).

I have fixed files:

(changes in files help me with removing entites from title of page and products names and descriptions)

/tools/smarty/plugins/modifier.escape.php,
/tools/smarty_v2/plugins/modifier.escape.php,

/classes/Tools.php.

Cache and compile is deleted.

 

 

 

If I open DB or translations od shop in PSPad, czech language OK (there are not entities).

 

Please, do you have any idea, where can be problem?

Thank you.

Edited by Assramm (cz) (see edit history)
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...