How do I set the default language?
-
Use Asgard to create a dual language site, and the default access is EN.
How do I set it up
-
Look at the configuration files, like app.php
-
I looked at all the configuration files,only config/app.php set language. but it doesn't work
-
The default_locale key is used. You can view more information at the package laravel-localisation.
-
@nwidart said in How do I set the default language?:
default_locale
How to set default language, when I set default language in app.php is 'vi', but when I go to mywebsite.com, It returned mywebsite.com/en
-
Here is basic web programming languages post I think its help you![ https://www.mujadidia.com/web-programming-languages/