Non-database strings can be translate using localization, strings storing in language files. But data comes from database in dynamic how can translate these strings in Laravel.
Could someone please give me a hint about this?
For example, above linked image dynamically created business card. there is heading 'about us' and 'scan here' these are predefined strings it will not change, so it is translated used localization. but about us contents user will entered data stored in database, shown in the business card. but for each user 'about us' contents it will change.
when I select 'hindi' language all the data will be translating except database stored data. I have more than 30+ languages.
like this I have issue, but when I use solution given in this question How to translate user inputs in laravel gives error: Uncaught ReferenceError: setCookie is not defined at googleTranslateElementInit