b22c Posted April 7, 2013 Share Posted April 7, 2013 Hi Where to translate "Cart 1 product" on cart? On top right of site? Cheers Link to comment Share on other sites More sharing options...
NemoPS Posted April 8, 2013 Share Posted April 8, 2013 Localization->translations. Select "Instaleld modules translation" from the dropdown, and click your flag. Expand all fieldsets and look for "blockcart". It should be around there Link to comment Share on other sites More sharing options...
Mephivio Posted April 8, 2013 Share Posted April 8, 2013 agree with you. But it seems there is a bug under PS 1.5.4 it doesn't display my translations ... any idea is appreciate .... 1 Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2013 Share Posted April 8, 2013 copy blockcart.tpl file to themes/your_theme/modules/blockcart/ after that translations for this should appear in BO. here is more information about this issue: http://forge.prestashop.com/browse/PSCFV-8559 Link to comment Share on other sites More sharing options...
b22c Posted April 8, 2013 Author Share Posted April 8, 2013 copy blockcart.tpl file to themes/your_theme/modules/blockcart/ after that translations for this should appear in BO. here is more information about this issue: http://forge.prestashop.com/browse/PSCFV-8559 Hi just a question copy blockcart.tpl from /public_html/mysite/modules/blockcart? And if yes leave blockcart.tpl also on /public_html/mysite/modules/blockcart? Or delete after copy? Cheers Link to comment Share on other sites More sharing options...
vekia Posted April 9, 2013 Share Posted April 9, 2013 yes, you have to copy blockcart.tpl file from /modules/blockcart/ directory to /themes/your_theme/modules/blockcart/ don't delete blockcart.tpl from /modules/blockcart/ directory all you have to do is to copy it to the new directory, not delete. Link to comment Share on other sites More sharing options...
b22c Posted April 9, 2013 Author Share Posted April 9, 2013 yes, you have to copy blockcart.tpl file from /modules/blockcart/ directory to /themes/your_theme/modules/blockcart/ don't delete blockcart.tpl from /modules/blockcart/ directory all you have to do is to copy it to the new directory, not delete. Hi, already exists the file blockcart.tpl on /themes/your_theme/modules/blockcart/ I replace the file for the other but dont translate... cheers Link to comment Share on other sites More sharing options...
NemoPS Posted April 9, 2013 Share Posted April 9, 2013 Could you copy all the string parts you want to change and paste them here? Just locate them in the tpl file Link to comment Share on other sites More sharing options...
vekia Posted April 9, 2013 Share Posted April 9, 2013 ahh sorry, i checked image that you attached in your first post... you are talking about blockuserinfo module not blockcart. so go to the modules/blockuserinfo/blokcuserinfo.tpl file, and you've got there something like: <a href="{$link->getPageLink($order_process, true)}" title="{l s='View my shopping cart' mod='blockuserinfo'}" rel="nofollow">{l s='Cart' mod='blockuserinfo'} <span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span> <span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='Product' mod='blockuserinfo'}</span> <span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='Products' mod='blockuserinfo'}</span> <span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}"> you can change values right there. you can also try my instructions above (translate it in bo) but for blockuserinfo module of course Link to comment Share on other sites More sharing options...
b22c Posted April 9, 2013 Author Share Posted April 9, 2013 ahh sorry, i checked image that you attached in your first post... you are talking about blockuserinfo module not blockcart. so go to the modules/blockuserinfo/blokcuserinfo.tpl file, and you've got there something like: <a href="{$link->getPageLink($order_process, true)}" title="{l s='View my shopping cart' mod='blockuserinfo'}" rel="nofollow">{l s='Cart' mod='blockuserinfo'} <span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span> <span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='Product' mod='blockuserinfo'}</span> <span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='Products' mod='blockuserinfo'}</span> <span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}"> you can change values right there. you can also try my instructions above (translate it in bo) but for blockuserinfo module of course Hi it works editing the file. Cheers Just other question before youmark as solved. When a new version come out and we choose to update the theme also with the module 1clickupdate, we lost all translate work and must do it again? Cheers Link to comment Share on other sites More sharing options...
NemoPS Posted April 9, 2013 Share Posted April 9, 2013 Yes you will The strings look okay, it's really weird they're not being translated :/ Link to comment Share on other sites More sharing options...
vekia Posted April 10, 2013 Share Posted April 10, 2013 you cant translate this module in BO even if you copy the tpl files to your theme directory? weirdy :| anyway - i marked thread as solved Link to comment Share on other sites More sharing options...
b22c Posted April 10, 2013 Author Share Posted April 10, 2013 "When a new version come out and we choose to update the theme also with the module 1clickupdate, we lost all translate work and must do it again? Cheers" 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