J
J
Jedi2020-01-17 01:36:01
Laravel
Jedi, 2020-01-17 01:36:01

How to implement multilingualism in a bunch of React and Laravel?

How it's done?
When we send a post request, how does the Laravel application know about the user's language?
Please tell me in detail.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2020-01-17
@PHPjedi

Wagon of options. From sources: User agent, IP, browser location API. Then save it all somewhere, like localstorage/cookies/whatever. Then it is somehow transferred to the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question