You could use this package to store them in the database. https://packagist.org/packages/spatie/laravel-translation-loader
Oct 13, 2022
4
Level 12
Guide to load Lang from database or external files
I have a Laravel Vue application, the application is hosted on Vapor.
The admin can update the language files but since Vapor is serverless, I cant write to update the lang/ folder.
My question is, how do I either write to external storage system that stores my lang folder (e.g s3) or use database to store the language key pair?
Level 102
Please or to participate in this conversation.