Drupal.t() does not work I am tring to use Drupal.t() within some javascript, and I am not able to do it. 

Actually, it throws no errors, Doing something like : 

console.log(Drupal.t('supplier')); 


returns 'supplier', even though I am in another language and the alternative value was supplied for such language (The PHP code with the t() function works). 

Extra question : Is there a way, to know from Drupal Javascript utilities the current locale, I am in ? 

At the moment, I found a workaround by testing the following (pure jQuery) : 

if(jQuery('body').hasClass('i18n-fr')){//so that we can 
 locale = '/fr';                       //make localized ajax calls.
} 


Cheers, 

Any ideas ?
After using Drupal.t(), clear the cache once, and search text to translate from admin/build/translate/search.