function T(id) {
  var native_dict = dictionary[current_lang];
  if(native_dict) {
    var retval = native_dict[id];
    if(retval)
      return retval;
  }
  for(var i=0; i < fallback_langs.length; i++) {
    var fb_dict = dictionary[fallback_langs[i]];
    if(fb_dict) {
      var retval = fb_dict[id];
      if(retval)
        return retval;
    }
  }
  return "Translation Missing for: '" + id + "'";
}
/* returns the string according to id in the following preferred order:
 * 1. current_lang
 * 2-n fallback languages
 */
returns the string according to id in the following preferred order:
1. current_lang
2-n fallback languages
returns the string according to id in the following preferred order : 1 . current_lang 2 - n fallback languages
function T(id) {
  var native_dict = dictionary[current_lang];
  if(native_dict) {
    var retval = native_dict[id];
    if(retval)
      return retval;
  }
  for(var i=0; i < fallback_langs.length; i++) {
    var fb_dict = dictionary[fallback_langs[i]];
    if(fb_dict) {
      var retval = fb_dict[id];
      if(retval)
        return retval;
    }
  }
  return "Translation Missing for: '" + id + "'";
}
function T ( id ) { var native_dict = dictionary [ current_lang ] ; if ( native_dict ) { var retval = native_dict [ id ] ; if ( retval ) return retval ; } for ( var i = 0 ; i < fallback_langs . length ; i ++ ) { var fb_dict = dictionary [ fallback_langs [ i ] ] ; if ( fb_dict ) { var retval = fb_dict [ id ] ; if ( retval ) return retval ; } } return "Translation Missing for: '" + id + "'" ; }
returns the string according to id in the following preferred order:
 1. current_lang
 2-n fallback languages
returns the string according to id in the following preferred order : 1 . current_lang 2 - n fallback languages