{"repo":"craft-forge/filament-language-switcher","free":true,"listed":false,"github":"https://github.com/craft-forge/filament-language-switcher","clone":"git clone https://github.com/craft-forge/filament-language-switcher.git","description":"Zero-config language switcher for Filament admin panels. Automatically scans available translations, renders dropdown with country flags, persists selection via sessions.","language":"PHP","stars":11,"topics":["filament","i18n","language-switcher","laravel","localization","php","language-switch"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"Filament Language Switcher A simple and elegant language switcher plugin for Filament admin panels. Automatically detects available Filament translations or allows custom language configuration with optional flag icons. Supports auth pages, cookie persistence, and locale change events. Demo → Live Demo Installation Plugin Version Filament Version PHP Version ---------------- ------------------ ------------- 1.x 3.x, 4.x, 5.x \\ 8.1 1. Install the package via Composer: 2. Register the plugin in your Filament panel configuration (e.g. AdminPanelProvider ): The plugin will automatically detect available Filament language files and display them in a dropdown menu. Configuration Locales By default, the plugin auto-detects available Filament language files. To define the locale list manually, pass it to locales() - choose one of three formats: Locale codes - names and flags are resolved automatically from the built-in dictionary (200+ languages): Full control - specify name and flag per locale. Flag codes reference: https://flagicons.lipis.dev. Dynamic - load locales at runtime (e.g. from a database): Remember Locale Store the selected locale in a cookie to persist across browser sessions (e.g. after logout): Custom Render Hook Change where the language switcher appears in the panel: Popular placements: - USER MENU BEFORE — before the user menu (default) - USER MENU PROFILE AFTER — after user profile in dropdown - USER MENU AFTER — after the user menu - SIDEBAR FOOTER — at the botto","default_branch":null,"files":null,"tree":[],"storefront":"/r/craft-forge","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/craft-forge/filament-language-switcher/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}