I’m translating my website, and would like to know the best way to use the translated database.
I need to know how can I identify when the user accesses the url in en or pt, for example:
localhost / pt / home
localhost / en / home
Have a site that is set in the lang helper or I’ll have to pick up via URL and if it is picked up via URL as the language?