original_string: function gettext($string)
      {
          global $PPHP;
          $req = grab('request');
  
          $default = $PPHP['config']['global']['default_lang'];
          $current = $req['lang'];
  
          $res = $string;
          try {
              if (self::$_gettext !== null) {
                  $res = self::$_gettext->gettext($string);
              };
          } catch (\Exception $e) {
              echo $e->getMessage();
          };
          return $res;
      }
code: function gettext($string)
      {
          global $PPHP;
          $req = grab('request');
  
          $default = $PPHP['config']['global']['default_lang'];
          $current = $req['lang'];
  
          $res = $string;
          try {
              if (self::$_gettext !== null) {
                  $res = self::$_gettext->gettext($string);
              };
          } catch (\Exception $e) {
              echo $e->getMessage();
          };
          return $res;
      }
code_tokens: function gettext ( $ string ) { global $ PPHP ; $ req = grab ( 'request' ) ; $ default = $ PPHP [ 'config' ] [ 'global' ] [ 'default_lang' ] ; $ current = $ req [ 'lang' ] ; $ res = $ string ; try { if ( self :: $ _gettext !== null ) { $ res = self :: $ _gettext -> gettext ( $ string ) ; } ; } catch ( \ Exception $ e ) { echo $ e -> getMessage ( ) ; } ; return $ res ; }
docstring: Simple no-plurals translation lookup in config.ini
  
  @param string $string String
  
  @return string Translated string in current locale
docstring_tokens: Simple no - plurals translation lookup in config . ini