Beartropy Permissions

Translations
The package includes full i18n support with Spanish and English translations. You can publish and customize translations or add new languages.

Publish Translations

Translations will be published to lang/vendor/beartropy-permissions/.

1php artisan vendor:publish --tag=beartropy-permissions-lang

Translation Structure

The default structure includes English and Spanish:

1lang/vendor/beartropy-permissions/
2├── en/
3│ └── messages.php
4└── es/
5 └── messages.php

Adding More Languages

To add a new language, create a new directory with the language code and copy the messages.php file:

1# Example: Adding French
2mkdir -p lang/vendor/beartropy-permissions/fr
3cp lang/vendor/beartropy-permissions/en/messages.php lang/vendor/beartropy-permissions/fr/

Then translate the strings in the new file.

Setting the Locale

Make sure your application locale is set correctly in config/app.php:

1// config/app.php
2'locale' => 'es', // or 'en'
Beartropy Logo

© 2026 Beartropy. All rights reserved.

Provided as-is, without warranty. Use at your own risk.