Provide a convenient way to retrieve strings in various languages, allowing you to easily support multiple languages within your application.
Configuring The Locale
You may configure a "fallback language", which will be used when the active language does not contain a given translation string.
Defining Translation Strings
Retrieving Translation Strings
Overriding Package Language Files
If you need to override the English translation strings in messages.php for a package named skyrim/hearthfire, you should place a language file at: resources/lang/vendor/hearthfire/en/messages.php.
Within this file, you should only define the translation strings you wish to override. Any translation strings you don't override will still be loaded from the package's original language files.