A
A
axblue2017-02-09 01:04:31
Laravel
axblue, 2017-02-09 01:04:31

How to detect user's language in Laravel?

Hello. Tell me, is it possible to somehow automatically determine the user's language? Made through the middleware, but it works when selected manually. Another question is how it will be possible to implement content selection from the table of the corresponding language. That is, the language is set to ru, so we choose from table_ru/ Maybe there is some good bag? And how will it be right from the SEO point of view? through sitename.com/ru, etc.?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
axblue, 2017-02-09
@leshikgo

Laravel Localization

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question