Open ronrun opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.
I have lang files:
php artisan translations:import
en language:
the root four files of language folder are in database, but none of all other files
zh-Hant:
Only "ocadmin/common/column_left" in database. The original four files auth.php... are missing, and setting/abc.php is missing.
So strange...
vendor\barryvdh\laravel-translation-manager\src\Manager.php
Why do I get emtpy $translations?
I fixed.
vendor\barryvdh\laravel-translation-manager\src\Manager.php
langPath D:/Codes/PHP/laravel.test/httpdocs/lang/en
subLangPath D:/Codes/PHP/laravel.test/httpdocs/lang/en/lang/en/ocadmin/common
group (before $group = $subLangPath.'/'.$group;) column_left
group (after that line) D:/Codes/PHP/backgarden.chinabing.test/httpdocs/lang/en/ocadmin/common/column_left
What it need is 'ocadmin/commoncolumn_left'
So I write another line to handle it. It seems works!
For export