Scaffold Translation

Adds scaffold commands to generate translation aware source files (plugin, controller, component, widget, etc)

Back to Scaffold Translation Support

planetadeleste
planetadeleste

After update to build #326 Is not possible to use artisan with your plugin.

InvalidArgumentException: The "pluginCode" argument does not exist. in /home/inmobiliaria/public_html/vendor/symfony/console/Input/Input.php:130

Stack trace:

  1. /home/inmobiliaria/public_html/vendor/laravel/framework/src/Illuminate/Console/Command.php(197): Symfony\Component\Console\Input\Input->getArgument('pluginCode')

  2. /home/inmobiliaria/public_html/plugins/bnb/scaffoldtranslation/classes/console/CreateComponent.php(21): Illuminate\Console\Command->argument('pluginCode')

  3. [internal function]: BnB\ScaffoldTranslation\Classes\Console\CreateComponent->fire()

  4. /home/inmobiliaria/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(507): call_user_func_array(Array, Array)

  5. /home/inmobiliaria/public_html/vendor/laravel/framework/src/Illuminate/Console/Command.php(150): Illuminate\Container\Container->call(Array)

  6. /home/inmobiliaria/public_html/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  7. /home/inmobiliaria/public_html/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  8. /home/inmobiliaria/public_html/vendor/symfony/console/Application.php(841): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  9. /home/inmobiliaria/public_html/vendor/symfony/console/Application.php(189): Symfony\Component\Console\Application->doRunCommand(Object(BnB\ScaffoldTranslation\Classes\Console\CreateComponent), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  10. /home/inmobiliaria/public_html/vendor/symfony/console/Application.php(120): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  11. /home/inmobiliaria/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  12. /home/inmobiliaria/public_html/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

  13. {main}
gabsource
gabsource

Hi,

Thanks for reporting this.

Version 1.1.0 is pending and available when bleeding edge update is active ( 'edgeUpdates' => true).

1-2 of 2