public function register()
 {
     $this->mergeConfigFrom($this->configPath, 'trans');
     $this->app->singleton('gummibeer.translator', function ($app) {
         return Translator::getInstance();
     });
     $this->commands([TranslatorCreatePo::class, CompileViews::class]);
 }
 function __($message, $arguments = [], $locale = null)
 {
     if (is_null($locale)) {
         $locale = \App::getLocale();
     }
     $trans = \Gummibeer\Laravel\Translation\Libs\Translator::getInstance()->trans($message, [], null, $locale);
     $trans = empty($trans) ? $message : $trans;
     $trans = count($arguments) ? vsprintf($trans, $arguments) : $trans;
     return $trans;
 }