Why is the locale set in config/app.php by just two characters instead of the full locale. For example: 'locale' => 'en', to set it to english but why not set it like this: 'locale' => 'en-GB',. If i set it like 'en' how can Laravel distinguish what dateformat is should use as there is a difference between en-US and en-GB dateformat?
config/app.php
'locale' => 'en'
'locale' => 'en-GB'
2.1m questions
2.1m answers
60 comments
57.0k users