language

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed May 22, 2013 1:09 pm
appreciate help from someone who knows how to change the language of the countdown

Template: fest

link: http://www.lagrotta.es/web


thanks
User avatar
Fresh Boarder

GK User
Wed May 22, 2013 1:16 pm
You need to do it manually:
edit file:
/templates/gk_fest/js/gk.script.js
and around line number 278 You will find:
Code: Select all
      // get the texts translations (if available)
      var dtext = this.element.get('data-daystext') || "days";
      var htext = this.element.get('data-hourstext') || "hours";
      var mtext = this.element.get('data-mintext') || "min.";
      var stext = this.element.get('data-sectext') || "sec.";


replace oryginal words that are stored at the end of each line with your translation.

or You could edit module that shows the counter (in quickstart it is called header and placed in header position), edit its source, find line:
Code: Select all
<div class="gk-jscounter gk-scale-up" data-dateend="21-06-2013" data-timeend="19:42" data-timezone="+2" data-start="{opacity:0}" data-end="{opacity:1}" data-delay="900" data-time="500">Counting finished!</div>


and add to it:
Code: Select all
<div class="gk-jscounter gk-scale-up" data-dateend="21-06-2013" data-timeend="19:42" data-timezone="+2" data-start="{opacity:0}" data-end="{opacity:1}" data-delay="900" data-time="500" data-daystext="days" data-hourstext="hours" data-mintext="min." data-sectext="sec.">Counting finished!</div>

and replace values in data-daystext, data-hourstext, data-mintext, data-sectext wit your own.
User avatar
Moderator


cron