joedixon / laravel-translation

Translation management for your Laravel application.
MIT License
694 stars 230 forks source link

Newly Added Translations aren't available for use after creation #276

Open mprythero opened 1 year ago

mprythero commented 1 year ago

I have my site configured using the database backend, and saving new groups/keys is fine and it saves to the database just fine. But when I am trying to use the @lang, __ or trans blade directives, they act like they can't find the keys. Only when I run the sync-translations command for database to file does it then work, but only because there is a physical json file created through the sync-translations method. What am I doing wrong?