Recent Topics

Change Language



  • Hello, I am new on Laravel. 🙂
    I create a file /packages/WEbkul/Admin/src/resources/lang/tr/app.php and translate all line.

    But i cannot change panel language, how can i do?

    Thanks.



  • @OSentrk
    Do you want to change the language of admin panel?



  • You can change the default language for the admin interface by following these steps:

    1. open config/app.php and search for 'locale'
        /*
        |--------------------------------------------------------------------------
        | Application Locale Configuration
        |--------------------------------------------------------------------------
        |
        | The application locale determines the default locale that will be used
        | by the translation service provider. You are free to set this value
        | to any of the locales which will be supported by the application.
        |
        */
    
        'locale' => 'en',
    
    1. Change the value from 'en' to 'tr'
    2. Save the changes and refresh the admin interface.

Log in to reply