html/js/i18n/jquery.i18n.js
function ( key, parameters ) {
			var message = key.toLocaleString();
			// FIXME: This changes the state of the I18N object,
			// should probably not change the 'this.parser' but just
			// pass it to the parser.
			this.parser.language = $.i18n.languages[$.i18n().locale] || $.i18n.languages['default'];
			if( message === '' || message === '*' ) {
				
				if ( ( mode == "php" ) && ( message != '*' ) ) {

					$.post( "svc/backend/i18n/", { missing: key, lang : $.i18n().locale , layout : pageInfo["layout"] } );
				}
				
				message = key;
			}
			var result =  this.parser.parse( message, parameters );
			if ( result.substr(0,6) == 'UTF8: ') result = result.substr(6)
			return result;
		}
function ( key, parameters ) {
			var message = key.toLocaleString();
			// FIXME: This changes the state of the I18N object,
			// should probably not change the 'this.parser' but just
			// pass it to the parser.
			this.parser.language = $.i18n.languages[$.i18n().locale] || $.i18n.languages['default'];
			if( message === '' || message === '*' ) {
				
				if ( ( mode == "php" ) && ( message != '*' ) ) {

					$.post( "svc/backend/i18n/", { missing: key, lang : $.i18n().locale , layout : pageInfo["layout"] } );
				}
				
				message = key;
			}
			var result =  this.parser.parse( message, parameters );
			if ( result.substr(0,6) == 'UTF8: ') result = result.substr(6)
			return result;
		}
function ( key , parameters ) { var message = key . toLocaleString ( ) ; // FIXME: This changes the state of the I18N object, // should probably not change the 'this.parser' but just // pass it to the parser. this . parser . language = $ . i18n . languages [ $ . i18n ( ) . locale ] || $ . i18n . languages [ 'default' ] ; if ( message === '' || message === '*' ) { if ( ( mode == "php" ) && ( message != '*' ) ) { $ . post ( "svc/backend/i18n/" , { missing : key , lang : $ . i18n ( ) . locale , layout : pageInfo [ "layout" ] } ) ; } message = key ; } var result = this . parser . parse ( message , parameters ) ; if ( result . substr ( 0 , 6 ) == 'UTF8: ' ) result = result . substr ( 6 ) return result ; }
Does parameter and magic word substitution.

@param {string} key Message key
@param {Array} parameters Message parameters
@return {string}
Does parameter and magic word substitution .