Projects
View on GitHub
lucascudo/laravel-pt-BR-localization
About
Laravel translation for Brazilian Portuguese (pt-BR locale). I want coffee: https://www.buymeacoffee.com/lucasrocha
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- +1
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalMódulo de linguagem pt-BR (português brasileiro) para Laravel
Instalação
- Scaffold do diretório lang
php artisan lang:publish
- Instale o pacote
composer require lucascudo/laravel-pt-br-localization --dev
- Publique as traduções
php artisan vendor:publish --tag=laravel-pt-br-localization
- Configure o Framework para utilizar 'pt_BR' como linguagem padrão
// Altere Linha 85 do arquivo config/app.php para:
'locale' => 'pt_BR'
// Para versões >= 11.x altere a linha 8 do arquivo .env
APP_LOCALE=pt_BR
- Recrie o cache das configurações
php artisan config:cache
Versões do Laravel suportadas
- 13.x
- 12.x
- 11.x
- 10.x
- 9.x
- 8.x
- 7.x
- 6.x
- ^5.6
Explore related projects
Loading…