Thanks for bringing this bug to my attention. Sorry, I didn’t realize that the jQuery plugin’s author didn’t localize the language files correctly. I’m working on a permanent fix for this, but in the meantime I think you can get it working by renaming and editing the following file:
/path/to/plugins/cssable-countdown/langs/jquery.countdown-de.js
to
/path/to/plugins/cssable-countdown/langs/jquery.countdown-de_DE.js
Open it and change:
$.countdown.regionalOptions['de']
to
$.countdown.regionalOptions['de_DE']
If the underscores don’t work, try a hyphen (de-DE
), and if that still doesn’t work, I’ll fix it soon, no worries.
Hey, thanks for the quick help! I’d skimmed through the language files and found it odd that it only said ‘de’, but then again, I’m a bloody rookie and couldn’t believe it could have anything to do with that. π
That said, no combination of underscores and hyphens seemed to help, unfortunately. I guess I’ll wait for your fix, then. π Don’t rush it on my account, though, I’m in no hurry.
Thank you!
german language isn’t working here, too! please fix it soon, since i need this awesome and easy styling plugin for a project to launch. thx in advance and keep up good work!
Well, that was an exercise in foreign languages. Everyone needing the languages, please download version 1.5. The language should be set correctly, that is, it should match your blog’s language.
9 Monate 2 Wochen 4 Tage π
thank you! it works now. as a workaround, i edited the javascript code but now it’s perfect. only have to wait for the two digit update now π
Is there a way to set the language in the shortcode?
The reason is a multilang site (using polylang), and with the current implementation it shows the countdown only in the language set in wp-config.
Any workaround? π
Hi we have the same problem, with Russian language, i tried all the above workaround(ru-RU,ru_RU), but nothing changes.
Here my page http://www.aavt.ru/ you can see countdwon below the youtube video.
Please can you tell me what is wrong ?
best regards
Good day I would like to report a mistake…
Your code (does not recognize the language):
// portuguese
case ‘pt’:
case ‘pt-br’:
case ‘pt-pt’: return ‘pt-br’;
My code (now recognizes):
// portuguese
case ‘pt’:
case ‘pt-br’:
case ‘pt-pt’: return ‘pt-BR’;