Forum Archive - woocommerce cart widget

woocommerce cart widget
Feb 13, 2017 1:45 pm by fabbrichetta
Hello, I cannot find a way to translate the "cart widget" buttons and content in my woocommerce theme https://www.vectorealism.com/en/ Do you have any advice? Regards
Re: woocommerce cart widget
Feb 20, 2017 2:30 pm by fabbrichetta
Hello, how can I get support for this? Thanks
Re: woocommerce cart widget
Feb 20, 2017 3:19 pm by Yana
Hi, GTranslate doesn't translate javascript code. It translates the text within html tags. If you check the source code you can see the following js code instead of html <script> jQuery(function(){ jQuery('ul.cart a.cart-contents, .added_to_cart').tipTip({ defaultPosition: "top", delay: 0 }); }); </script> If you can change this to html it will be translated.
Re: woocommerce cart widget
Feb 21, 2017 11:15 am by fabbrichetta
Hello, thanks for that, but I really don't know how to do it. Can you suggest how to do it precisely? I can manage to locate and edit the file but I think I need something to copy/paste, since I am not a developer Thanks so much
Re: woocommerce cart widget
Mar 1, 2017 1:53 pm by Edvard
Hi, We have fixed the issue. Thanks!
Re: woocommerce cart widget
Mar 1, 2017 2:11 pm by fabbrichetta
hello, unfortunately it seems not working right now. My english version is not working at all (it redirects to standard italian version). What's going on?
Re: woocommerce cart widget
Mar 1, 2017 2:46 pm by Edvard
Can you post contents of your .htaccess file? Thanks!
Re: woocommerce cart widget
Mar 1, 2017 2:51 pm by fabbrichetta
here it is ### BEGIN GTranslate config ### RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteRule ^(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-CN|zh-TW|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu)/(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-CN|zh-TW|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu)/(.*)$ /$1/$3 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-CN|zh-TW|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu)/(.*)$ /wp-content/plugins/gtranslate/url_addon/gtranslate.php?glang=$1&gurl=$2 [L,QSA] RewriteRule ^(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-CN|zh-TW|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu)$ /$1/ [R=301,L] ### END GTranslate config ### RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] # BEGIN W3TC Browser Cache <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel <IfModule mod_mime.c> # DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml </IfModule> </IfModule> <FilesMatch "\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$"> <IfModule mod_headers.c> Header append Vary User-Agent env=!dont-vary </IfModule> </FilesMatch> <FilesMatch "\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$"> <IfModule mod_headers.c> Header unset Last-Modified </IfModule> </FilesMatch> # END W3TC Browser Cache # BEGIN W3TC CDN <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch> # END W3TC CDN # BEGIN W3TC Skip 404 error handling by WordPress for static files <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(robots\.txt|[a-z0-9_\-]*sitemap[a-z0-9_\-]*\.(xml|xsl|html)(\.gz)?|sitemap(-+([a-zA-Z0-9_-]+))?\.xml(.gz)?|sitemap(-+([a-zA-Z0-9_-]+))?\.html(.gz)?) RewriteCond %{REQUEST_URI} \.(css|htc|less|js|js2|js3|js4|html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip)$ [NC] RewriteRule .* - [L] </IfModule> # END W3TC Skip 404 error handling by WordPress for static files # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress Redirect 301 /2010 http://blog.vectorealism.com/2010 Redirect 301 /2011 http://blog.vectorealism.com/2011 Redirect 301 /2012 http://blog.vectorealism.com/2012 Redirect 301 /2013 http://blog.vectorealism.com/2013 Redirect 301 /blog http://blog.vectorealism.com/blog Redirect 301 /risorse http://blog.vectorealism.com/risorse Redirect 301 /maker-story http://blog.vectorealism.com/maker-story Redirect 301 /news http://blog.vectorealism.com/news Redirect 301 /esempi-e-ispirazioni http://blog.vectorealism.com/esempi-e-ispirazioni Redirect 301 /tag http://blog.vectorealism.com/tag Redirect 301 /design-your-own http://www.ponoko.com/design-your-own Redirect 301 /showroom http://www.ponoko.com/showroom Redirect 301 /make-and-sell http://www.ponoko.com/make-and-sell Redirect 301 /mingle-and-share http://www.ponoko.com/mingle-and-share Redirect 301 /category/kit/ /category/ready-made/ Redirect 301 /lettering-machine/ /prodotto/produzione/lettering-machine/ Redirect 301 /stencil-machine/ /prodotto/produzione/stencil-machine/ Redirect 301 /taglio-laser/ /prodotto/produzione/taglio-e-incisione-laser/ Redirect 301 /stampa-3d/ /prodotto/produzione/stampa-3d/ #block bad bots with a 403 SetEnvIfNoCase User-Agent "Baiduspider" bad_bot ## SITE REFERRER BANNING RewriteCond %{HTTP_REFERER} yourserverisdown.com [NC,OR] RewriteCond %{HTTP_REFERER} yourserverisdown.com RewriteRule .* - [F] <Limit GET POST HEAD> Order Allow,Deny Allow from all Deny from env=bad_bot </Limit>
Re: woocommerce cart widget
Mar 1, 2017 3:23 pm by Edvard
OK, Please check /wp-content/plugins/gtranslate/url_addon/config.php file and make sure that the main_lang variable is set to it $main_lang = 'it'; Make sure also that Translate From in GTranslate Settings page is set correctly to Italian. Thanks!
Re: woocommerce cart widget
Mar 1, 2017 3:47 pm by fabbrichetta
Hello, both these settings are ok, It works now but I have the same original problem about cart widget thanks
Re: woocommerce cart widget
Mar 1, 2017 4:08 pm by Edvard
OK, please wait till we will release a new version for Wordpress. Or you can use our live chat and our agent will set it up for you. https://gtranslate.io/#contact Thanks!
Re: woocommerce cart widget
Mar 2, 2017 7:35 pm by fabbrichetta
hello, I've just updated the plugin but unfortunately didn't solve my problem with cart widget translation Can you take a look? Thanks
Re: woocommerce cart widget
Mar 2, 2017 8:51 pm by Edvard
Hi, Can you provide more details? I'm able to add item into cart and see the cart in English. Thanks!
Re: woocommerce cart widget
Mar 3, 2017 9:36 am by fabbrichetta
Hello, as you see in this screenshot the cart widget buttons are not translate nor translatable
Re: woocommerce cart widget
Mar 3, 2017 5:10 pm by Edvard
Hi, They are translated for me. Please contact our live chat and our agent will check it for you. Thanks!

SIMILAR TOPICS

Error message on click on the widgetJan 6, 2019 9:52 pmReplies: 1Post by: jmric68
Cart stopped workingSep 1, 2018 12:10 pmReplies: 3Post by: willsonjayram
Display modal popup upon 'Add to cart' (Virtuemart 3)Apr 15, 2018 2:21 pmReplies: 1Post by: 4FF
Globe Alignment in Header WidgetMar 20, 2018 5:14 amReplies: 3Post by: geo2m
[ERROR] Woocommerce Checkout errorJun 5, 2017 4:15 amReplies: 1Post by: kherogen

Try GTranslate with a free 15 day trial