• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Change Language

Knowledge Base
5
6
1.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    OSentrk last edited by 23 Feb 2020, 01:01

    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.

    1 Reply Last reply Reply Quote 0
    • J
      Jyoti last edited by 24 Feb 2020, 13:29

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

      1 Reply Last reply Reply Quote 0
      • ghermans
        ghermans last edited by ghermans 26 Feb 2020, 10:15 24 Feb 2020, 15:26

        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.

        Kind regards,
        Glenn Hermans

        Manager Bagisto Europe
        info@bagisto.eu

        1 Reply Last reply Reply Quote 3
        • 9 months later
        • K
          kassouf last edited by 5 Nov 2020, 18:01

          Hey I have the latest version of bagisto and when I change local from 'en' to 'ar' it doesn't work.
          pleasecan you help me ?

          1 Reply Last reply Reply Quote 0
          • V
            Vaishali Agarwal last edited by 6 Nov 2020, 05:51

            @kassouf
            first, make sure that ar locale should be added in front admin->settings->locales

            after that, do the changes in .env file and update app_locale = ar

            1 Reply Last reply Reply Quote 0
            • K
              kassouf last edited by 11 Nov 2020, 06:53

              @Vaishali-Agarwal Thank you

              1 Reply Last reply Reply Quote 0
              3 out of 6
              • First post
                3/6
                Last post