Changes

Jump to navigation Jump to search
23 bytes removed ,  13:00, 1 February 2014
Line 88: Line 88:     
Translates a string into the end-user’s preferred language by checking their HTTP_ACCEPT_LANG variable and looking up a lexicon hash for that language (if it exists).  If no translation can be found, returns the original string untranslated.
 
Translates a string into the end-user’s preferred language by checking their HTTP_ACCEPT_LANG variable and looking up a lexicon hash for that language (if it exists).  If no translation can be found, returns the original string untranslated.
Takes the text to translate as the first argument, and optionally, a hashref of variables for substitution as the second argument.
+
Takes the text to translate as the first argument, and optionally, a hashref of variables for substitution as the second argument.<br />
 +
 
 
WARNING WARNING WARNING: The internals of this routine will change significantly in version 0.60, when we remove Locale::Maketext from the equation.  However, its output should still be the same.  Just FYI.
 
WARNING WARNING WARNING: The internals of this routine will change significantly in version 0.60, when we remove Locale::Maketext from the equation.  However, its output should still be the same.  Just FYI.
   Line 122: Line 123:  
[[Category:SME Server Development Framework]]
 
[[Category:SME Server Development Framework]]
 
[[Category:Development Tools]]
 
[[Category:Development Tools]]
[[Category:SME9-Development]]
 

Navigation menu