→ كل المشاريع

Localizater

بواسطة @elkebirmed

مؤرشف 50

Laravel localization package for wrapping routes in multiple locale prefixes

عن هذا المشروع

Localizater [![Latest Version on Packagist][ico-version]][link-packagist] [![Total Downloads][ico-downloads]][link-downloads] Laravel package for wrapping routes in multiple locale prefixes. Installation Via Composer To detect and change the locale of the application based on the request automatically, you can add this middleware to your app/Http/Kernel: Configuration By default, the application locales are only going to be en and the default locale is not prefixed. If you want to prefix the default locale, please run the following command to publish the configuration file: After installing the package, Adding the middleware and publishing the configuration file. You need to edit the configuration file config/localizater.php in order to add more locales. Note The default locale is app.locale located at config/app.php file. Config: localizater.locales Add supported locales. It's recommended to write the locale value with its native language. Config: localizater.rtllocales Add RTL direction locales. Config: localizater.prefixdefault If this option is set to true, Default locale URL will be prefixed. Config: localizater.prefixdefaultname

من ملف README الخاص بالمشروع على GitHub

النجوم
50
التفريعات
3
الرخصة
MIT
آخر تحديث
18/04/2024

أضف هذه الشارة إلى ملف README

أظهر أن مشروعك مُدرج على «صُنع في الجزائر».

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/localizater.svg)](https://www.madeinalgeria.dev/projects/localizater)

مشاريع ذات صلة