Closed dobromir-hristov closed 7 years ago
Hmm... There's no "hook" or anything, but you can extend the package and use your own controller instead of LanguageCrudController, then overwrite the updateTexts() method to do that too.
Hope it helps.
Ye, already did that. Thanks.
I checked before I asked, but still.. Is there a way to run scripts after the lang files are saved? For example to generate a json file with the translation strings.
In our case, we use
Vue
andlaravel-vue-i18n-generator
to pass the translations to the frontend.