code: def detranslify(text):
      
      try:
          res = translit.detranslify(text)
      except Exception as err:
          # because filter must die silently
          res = default_value % {'error': err, 'value': text}
      return res
docs: Detranslify russian text