Updated 15 May 2023
In this Blog, we are going to learn about “How To Add New Locale In Bagisto?
We can add a new locale in Bagisto.
And it is quite easy to do this. I have mentioned the process in steps. Please follow the instructions given below to achieve this.
Add locale file in specific package
Packages>>Webkul>>Velocity>>src>>Resources>>lang>>LocaleCode>>app.php

app.php file -:
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <?php return [     'admin'         => [         'system'    => [             'velocity' => [                 'general'  => 'आम',                 'category'  => 'श्रेणी',                 'settings'  => 'समायोजन',                 'extension_name' => 'वेलोसिटी थीम',                 'error-module-inactive' => 'चेतावनी: वेलोसिटी विषय की स्थिति निष्क्रिय है',             ],             'settings' => [                 'channels' => [                     'subscription_bar' => 'सदस्यता बार सामग्री'                 ],             ],          ],       ],    ], ?> | 
Click on Setting>>Locales>>Add Locale

Enter the Locale code, Name, direction, and locale then click on Save Locale

Next step is to set your locales in a particular channel. Click on Setting>>Channels>>Locales(Select the locales(multi-select option))>>Save Channel


Hope it will be helpful for you. If you have any issue feel free to raise a ticket at https://bagisto.uvdesk.com/en/
If you have more details or questions, you can reply to the received confirmation email.
Back to Home
Be the first to comment.