@khanareeb build an Ecommerce site it's more wise if developer just use some their trusted plugin/package source, and what is trusted source look like. in my opinion it always update to the target frame work. and of course the developer still manually check and test the plugin/package before make it to production.
is this mcamara/laravel-localization helpfull ? YES
but does using this package is a good approach ? well depend on what application needed. (what this mean) if developer have no time to do a manual lang just use this plugin/package.
but if developer have more time, recomend it to do manual way for multilingual website.
and if this Ecommerce just English and Arabic, do it with manual way. let the Ecommerce application rush in the flow of data, validation, UI, UX, role for user, transction handling and other process. don't make it more complex for developer with translating plugin/package.
but of course it's just my opinion. there always another way to do the thing. 😁
for snippets, the two link is already do a full tutorial for how to do the manual lang in laravel. I guarante it will work, I have use same way for multilingual website with framework laravel before.
hope this help.