mexas Posted September 8, 2013 Share Posted September 8, 2013 Hi,Is there any way to translate these words?The all site and theme are translated to 100% but I can not find this translation! I can only change the tpl file, but this is not translated!I need help ... : ( Link to comment Share on other sites More sharing options...
vekia Posted September 8, 2013 Share Posted September 8, 2013 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 More sharing options...
mexas Posted September 8, 2013 Author Share Posted September 8, 2013 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 More sharing options...
mexas Posted September 8, 2013 Author Share Posted September 8, 2013 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:<?phpglobal $_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 More sharing options...
vekia Posted September 8, 2013 Share Posted September 8, 2013 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now