Closed kay899 closed 8 years ago
Are there any translations in your database yet?
No, database is totally empty
That might be the problem. You should first run the migration. After running the migration the database will fill itself with all locales you've already in your project. Every time Lang::get or trans() is called the value will be added.
Does this help you?
Hi, yes this helped. I now have understood how this is working. One other question: the import of keys via shell is now working at all with "php artisan translation:fetch" My default language is "de", could that cause any problems with that?
Your default language is not of any influence. By default the fetch function will just traverse through all language files of all locales and index them based on the language directory their in.
I installed the translation manager packages as described. But when I go to .../_translations the DropDowns are empty. Even when I do "php artisan translation:fetch" it still stays empty. My standard locale is "de" and my fallback_locale is "en".
Any idea what is going wrong? Thanks kay899