There is a site , section Promotions. It is necessary to replace the text "Weeks", Days, Hours, Minutes, Seconds with Russian. How to replace text with jQuery or JavaScript?

  • eprivalov1, do you need to add internationalization to the site? - romeo
  • 2
  • @romes not yet, you just need to translate English text into Russian - spoilt
  • @romeo If you edit this line, the counter stops working ... - spoilt
  • $('body').html($('body').html().replace('Weeks', 'ะะตะดะตะปะธ')) ... Joke - vp_arth

2 answers 2

 $(document).ready(function(){ $('.av-countdown-weeks .av-countdown-time-label').html("ะะตะดะตะปะธ"); }); 

And then in the same style)

  • I plyusanul, thanks for the help, but in this case does not work! - spoilt
  • jQuery (document). ready (function () {jQuery ('. av-countdown-weeks. av-countdown-time-label'). html ("Weeks");}); Or what other error gives? - piingwiin
 jQuery('div[data-label="Week"]').html('ะะตะดะตะปั'); 

And so on