POC: i18n no admin de eventos (locale switcher + traduções)#384
Open
BrunaDomingues wants to merge 3 commits into
Open
POC: i18n no admin de eventos (locale switcher + traduções)#384BrunaDomingues wants to merge 3 commits into
BrunaDomingues wants to merge 3 commits into
Conversation
Session-based EN/PT-BR switching in the Filament user menu, with route, middleware, and UI styled like the theme switcher. Co-authored-by: Cursor <cursoragent@cursor.com>
Sync Carbon locale with the session language and apply locale-specific date formats in Filament tables, schemas, and pickers. Co-authored-by: Cursor <cursoragent@cursor.com>
Add panel-admin events lang files and replace hardcoded English strings in the events admin UI. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
POC para validar traduções no admin de eventos, com commits separados por escopo.
29/06/2026em PT-BR)panel-admin(tabelas, formulários, relation managers e notificações)Commits
feat(i18n): add Filament user menu locale switcher— menu + infraestrutura de locale (revertível isoladamente)feat(i18n): format Filament dates by application locale— Carbon + formatos no Filamentfeat(panel-admin): translate events Filament resource labels— arquivoslang/events.phpe resourcesNotas
git revert <hash>.events::enums.*; este PR cobre principalmente strings hardcoded do admin.npm run devounpm run build) para o estilo do seletor de idioma.Test plan
d/m/Y H:i:s) vs EN (M j, Y H:i:s)php artisan test tests/Feature/LocaleSwitcherTest.phpphp artisan test app-modules/events/tests/Feature/EventResourceTest.php