Jump to content

[SOLVED] Create a link between tpl and css


mexas

Recommended Posts

go to localizaiton > translations

from first drop down select "modules translations", then click on your flag

 

then - search for cart block module. This is what you're looking for.

(it will be much easier if you will search for strings you want to translate) 

Link to comment
Share on other sites

I had already tried that ...  :(  I can not do it because my ISP does not increase php.ini
 

"Warning! Your PHP configuration limits the maximum number of fields allowed in the form:
1500 is max_input_vars.
Please ask your hosting provider to Increase the limit to this in 1940 or at least edit the translation file manually "

 

Help me please..

Link to comment
Share on other sites

SOLUTION...

I've been reading the documentation for prestashop ... and has figured out how to do it!

 

Theme modules are located in the "themes/[THEME NAME]/modules" directory.
in each module directory, there's [MODULENAME].tpl file, index.php and several [LANGUAGE CODE].php files.

in the [MODULENAME].tpl file, look up the strings you need to translate. Example:

{l s='search...' mod='blocksearchtop'}

 

search... = the corresponding translation in the language file should be then:

<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{blocksearchtop}balim>blocksearch-top_d77a48a51f8c62087570ab8f9d6ca55a'] = 'Search...';
d77a48a51f8c62087570ab8f9d6ca55a is MD5 hash of "search...".

 

You can easily convert strings in any online MD5 generator...

Link to comment
Share on other sites

open these modules translation files:

- modules/blockcart

- modules/blockuserinfo

 

you should check these modules translations files.

unfortunately i can't say more because you use non-default theme and i don't know sources of it :(

 

 

 

have you tried to ask your hoster to increase this limit especially for you?

without this feature changing translations will be nightmare for you :(

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