Skip to content
Projects

lucascudo/laravel-pt-BR-localization

View on GitHub

About

Laravel translation for Brazilian Portuguese (pt-BR locale). I want coffee: https://www.buymeacoffee.com/lucasrocha

Web & App Development

How these counts are measured

Measured 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

Original

Módulo de linguagem pt-BR (português brasileiro) para Laravel

example workflow Total Downloads Latest Stable Version License

Instalação

  1. Scaffold do diretório lang
php artisan lang:publish
  1. Instale o pacote
composer require lucascudo/laravel-pt-br-localization --dev
  1. Publique as traduções
php artisan vendor:publish --tag=laravel-pt-br-localization
  1. 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
  1. 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…