def fallback_trans(x):
 t = _(x)
 if (t == x):
  l = get_lang()
  set_lang(g.lang, graceful_fail=True)
  t = _(x)
  if (l and (l[0] != g.lang)):
   set_lang(l[0])
 return t

def fallback_trans ( x ) : t = _ ( x ) if ( t == x ) : l = get_lang ( ) set_lang ( g . lang , graceful_fail = True ) t = _ ( x ) if ( l and ( l [ 0 ] != g . lang ) ) : set_lang ( l [ 0 ] ) return t
for translating placeholder strings the user should never see in raw form .