I use the theme function
for example

print theme('jquery_countdown', array(
    'until' => date("F d, Y g:i a", mktime(0,0,0,10,15,2009)),
    'format' => 'DHMS',
    'description' => t('since the opening of the vp'),
  ));

But my site is in arabic too, how use arabic translation with the theme function ?
I see a lot of translation file but how it works ?

CommentFileSizeAuthor
#3 jquerycountdowntranslation.patch2.15 KBrobloach

Comments

zenrei’s picture

Hi, I don't support this module, but go to http://keith-wood.name/countdown.html and click on the Localisation tab. It looks like all the languages are already included in the module download.

Not sure about being able to use more than one language, thought (Arabic & English, for example)

robloach’s picture

Title: how to use with another language than english ? » Localisation support
Version: 6.x-1.4 » 6.x-1.x-dev

We could provide a jquery-countdown-drupal.js that would set the language defaults to calls through Drupal.t(). Definitely would love a patch or some idea brainstorms!

robloach’s picture

Status: Active » Needs review
StatusFileSize
new2.15 KB

What if we had Drupal translate it for us?

blackice2999’s picture

Status: Needs review » Closed (fixed)

same feature already implemented and comes with the next release