I am building a multilingual laravel 5.6 application and I have a ton of translation keys across my project defined both using @lang blade directive and trans() function.
I wish to find a way (command / package) that would allow me to scan the project for keys and generate files with the respective namespaces. I have found a package that would generate the files for keys like this:
trans('namespace.translation-string')
But I also need to support multiple level namespaces like this i.e. that it would automatically generate the nested namespace folders under each of the system's languages:
trans('namespace.another-namespace.translation-string')
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2J3VAHS
via IFTTT
Aucun commentaire:
Enregistrer un commentaire