Sarkari Naukri and Naukri

Thursday, 4 April 2013

t function in drupal


Translates a string to the current language or to a given language. 
 
The t() function serves two purposes. First, at run-time it translates user-visible text into the appropriate language. Second, various mechanisms that figure out what text needs to be translated work off t() -- the text inside t() calls is added to the database of strings to be translated.

No comments:

Post a Comment