Countdown labels translation - Do I need WPML for single language?

Hello,

I am using only one language in my web site - Croatian.
Wordpress is also in Croatian.
Countdown labels are in English. Can I translate them to Croatian without WPML?

Thank you

Hi Željko,

Thanks for reaching out.
I would suggest you go through the following thread which may help you on this.

https://theme.co/forum/t/countown-no-way-to-preview-complete-text-while-editing-it-and-no-d-h-m-s-customization/61691/7

Thanks

Hi,
Thank you for quick reply.

At this site I am not using WPML because I would like to avoid purchasing the plugin since all I need is to translate those four words in Countdown.

I have used the following code but it doesn’t work:

function gettext_mine ($translated_text, $text, $domain) {
if ( $translated_text == ‘Days’) {
$translated_text = ‘Dani’ ;
}
return $translated_text;
}
add_filter (‘gettext’, ‘gettext_mine’, 20, 3);

Any ideas?

Thank you

Hi Željko,

Unfortunately, we can’t say anything on this as we don’t offer any investigation on the custom coding.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.