• Developer New

    Friday, March 24, 2017

    how to get Localization in laravel

    App::setLocale('en');
    Lang::get('messages.welcome');
    Lang::get('messages.welcome', ['foo' => 'Bar']);
    Lang::has('messages.welcome');
    Lang::choice('messages.apples', 10);

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel