Example Use | Laravel 5: String Translation Public API
In the following example, we will change the translator's default locale to es : 1 // Ask the Service Container for a translator instance. 2 $ translator = app ( ' translator ' ) ; 3 4 // Change the default locale to `es`. 5 $ translator ->...