Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

206
Views
cuando cambio otro idioma usando la funcionalidad del carrito de traducción de Google no funciona en el que se usa un código vuejs

Este es el código js del traductor de Google:

 <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');} </script> <script type="text/javascript" src="//translate.google.com/translate_a/element.js? cb=googleTranslateElementInit"></script> <div class="translate" id="google_translate_element"></div>

Estoy traduciendo todo el sitio y también cuando vine a agregar productos en el carrito, almacenará productos sin usar la traducción de Google, pero cuando cambio a otro idioma, no está actualizando el carrito y cuando recargo la página, se está actualizando; también hay algún código de vueJs en el carrito.

Código VueJs:

 <div v-if="totalPrice" v-cloak class="text-center mobile-menu add_more_btn"> <a type="button" class="btn service-btn" style="text-transform:none" onclick="closeNav()">{{ __('+Add Item') }}</a> </div> <div class="place_order_btn" v-if="totalPrice" v-cloak> <a href="/cart-checkout" class="btn service-btn">{{ __('Place Order') }}</a> </div>

Además, mi pregunta es esa; ¿El traductor de Google no funciona en vuejs? No estoy al tanto de vueJs, por favor ayúdenme. Cualquier ayuda será apreciada.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!