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'
1.4m articles
1.4m replys
5 comments
56.9k users