potsky / laravel-localization-helpers

🎌 Artisan commands to generate and update lang files automatically
GNU General Public License v3.0
187 stars 38 forks source link

Support fallbacks #38

Closed adriandmitroca closed 7 years ago

adriandmitroca commented 8 years ago

Hey @potsky,

What do you think about idea that accept null values as a translations? This approach would allow you to use translations fallbacks - because you probably want to display english translation to the user instead of something like TODO: hello_user

This could be possible using a custom parameter like: php artisan localization:missing -l null or php artisan localization:missing --support-fallbacks

potsky commented 7 years ago

Thanx @adriandmitroca for the PR, it will be included in the next release.