zerospam / laravel-gettext

Adds localization support to laravel applications using PoEdit and GNU-Gettext.
99 stars 56 forks source link

Support in configuration file for prevent the compilation of the views #21

Open hanc2006 opened 5 years ago

hanc2006 commented 5 years ago

Hi, I would suggest to add a new parameter in the configuration file to prevent the compilation of the views. Currently the artisan command add a second search path X-Poedit-SearchPath-1 inside the language file, that match the storage path where the compiled view are stored.

You can scan the blade view in Poedit just adding a custom extractor configuration without having to compile the views. In this way all the translation references will be accurate (it it would be very useful if your project has many pages and must be translated into sections)

code_2018-11-25_00-33-35