• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Alex
  • Private: No
  • Open Date: 13.12.16, 15:49
  • Opened by: Radek Pokora
  • Closed by: Alex
  • Closed on: 26.01.17, 19:00
  • Reason: Closed
  • Comment: Glad to help!

Ticket #10095 - Countdown translation

Hi,

I am having trouble with translation. I can’t find where to translate the countdown text. Picture attached.

Thanks

Comments

Alex 13 Dec 2016, 22:53

Hi. It can be changed in the file \modules\pk_themesettings\js\countdown.js th line 118

return $(this.el).html("" + date.years + " years, " + date.days + " days, " + (this.leadingZeros(date.hours)) + " hours, " + (this.leadingZeros(date.min)) + " min and " + (this.leadingZeros(date.sec)) + " sec");

you need to change only the text in the “brackets”

Radek Pokora 14 Dec 2016, 15:00

I tried that but it didn’t work, maybe I did it work I am not sure.. Take a look

return $(this.el).html("" + date.years + " roků, " + date.days + " dny, " + (this.leadingZeros(date.hours)) + " hodin, " + (this.leadingZeros(date.min)) + " min a " + (this.leadingZeros(date.sec)) + " sek");
Alex 14 Dec 2016, 18:20

Really sorry. My bad.
All the countdown text is located in the default place
Localisation>Translation>Installed modules>Our theme, your lang>”Products carousel” and “Products carousel single” modules.
Localisation>Translation>Front office>Our theme, your lang

As I see you have wrong hosting configuration http://screencast.com/t/3QDdhrl153 Here is manual how to change this value https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-max-input-vars-directive