Download the PHP package zakariatlilani/translation-manager without Composer
On this page you can find all versions of the php package zakariatlilani/translation-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zakariatlilani/translation-manager
More information about zakariatlilani/translation-manager
Files in zakariatlilani/translation-manager
Package translation-manager
Short Description Manage your application's translation in Filament.
License MIT
Homepage https://github.com/zakariatlilani/translation-manager
Informations about the package translation-manager
Translation Manager
This package uses spatie/laravel-translation-loader, Make sure your migration is done correctly.
This package uses phpfilament v5, make sure you have php 8.2 or greater.
Installation
You can install the package via composer:
Plugin Configuration
Available Configuration Methods
availableLocales(array $locales)- Set available application localesdisableKeyAndGroupEditing(bool $disable = true)- Control key/group editinglanguageSwitcher(bool $enable = true)- Enable/disable language switcherlanguageSwitcherRenderHook(string $hook)- Set render hook for language switchernavigationGroupTranslationKey(?string $key)- Set navigation group translation keynavigationGroup(?string $group)- Set navigation groupnavigationIcon(mixed $icon)- Set navigation icon (supportsfalseto disable)dontRegisterNavigationOnPanelIds(array $panelIds)- Exclude panels from navigationshowFlags(bool $show = true)- Show flags in language switcherprependDirectoryPathToGroupName(bool $prepend = true)- Control group naming
Config File
You can use the following command to publish the configuration file:
Authorization
By default, the translation manager cannot be used by anyone.
You need to define the following gate in your AppServiceProvider boot method:
available_locales
Determines which locales your application supports. For example:
language_switcher
Enable or disable the language switcher feature. This allows users to switch their language - disable if you have your own implementation.
License
The MIT License (MIT). Please see License File for more information.
All versions of translation-manager with dependencies
filament/filament Version ^5.0
filament/notifications Version ^5.0
spatie/laravel-package-tools Version ^1.92
spatie/laravel-translation-loader Version ^2.8
stijnvanouplines/blade-country-flags Version ^1.0.6