• Resolved probadrian

    (@ultbit)


    Hello, I have managed to translate the theme completely using the “crazy translate” plugin but I can not translate the fields of days, hours, minutes.

    I found the file countdown.js and modified these words there but still no change is made.

    How can I translate this?
    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Igor Benic

    (@ibenic)

    Hi @ultbit,

    the script I am using is this one: https://keith-wood.name/countdown.html

    You can check if your language is translated there by going to the tab “Localisation”. Then scroll down to “Localisations” and click “Show all” to see all the available ones.

    You can let me know which one is it so I can include it in the next update. But before the update, you can paste the code they’ve put there inside of Giveaways > Settings > Scripts in the Footer.

    Thread Starter probadrian

    (@ultbit)

    My language is Spanish, perfect, all done.

    Thanks for support.

    • This reply was modified 5 years, 9 months ago by probadrian.
    Plugin Author Igor Benic

    (@ibenic)

    Hi @ultbit,

    this should be going in the scripts field:

    (function($) {
    	'use strict';
    	$.countdown.regionalOptions.es = {
    		labels: ['A?±os','Meses','Semanas','D?-as','Horas','Minutos','Segundos'],
    		labels1: ['A?±o','Mes','Semana','D?-a','Hora','Minuto','Segundo'],
    		compactLabels: ['a','m','s','d'],
    		whichLabels: null,
    		digits: ['0','1','2','3','4','5','6','7','8','9'],
    		timeSeparator: ':',
    		isRTL: false
    	};
    	$.countdown.setDefaults($.countdown.regionalOptions.es);
    })(jQuery);
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translate Time sentences’ is closed to new replies.