https://github.com/lucascudo/laravel-pt-br-localization
Tradução do Laravel para português brasileiro (pt-BR locale). Quero café: https://www.buymeacoffee.com/lucasrocha
https://github.com/lucascudo/laravel-pt-br-localization
composer laravel locale localization php portuguese portuguese-brazilian pt pt-br pt-pt translation
Last synced: 10 days ago
JSON representation
Tradução do Laravel para português brasileiro (pt-BR locale). Quero café: https://www.buymeacoffee.com/lucasrocha
- Host: GitHub
- URL: https://github.com/lucascudo/laravel-pt-br-localization
- Owner: lucascudo
- License: gpl-3.0
- Created: 2018-10-09T15:26:45.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T11:13:11.000Z (about 1 month ago)
- Last Synced: 2025-04-04T18:00:37.520Z (17 days ago)
- Topics: composer, laravel, locale, localization, php, portuguese, portuguese-brazilian, pt, pt-br, pt-pt, translation
- Language: PHP
- Homepage:
- Size: 215 KB
- Stars: 1,232
- Watchers: 38
- Forks: 216
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Módulo de linguagem pt-BR (português brasileiro) para Laravel
 [](https://packagist.org/packages/lucascudo/laravel-pt-br-localization) [](https://packagist.org/packages/lucascudo/laravel-pt-br-localization) [](https://packagist.org/packages/lucascudo/laravel-pt-br-localization)
## Instalação
1. Scaffold do diretório lang
```shell
php artisan lang:publish
```2. Instale o pacote
```shell
composer require lucascudo/laravel-pt-br-localization --dev
```3. Publique as traduções
```shell
php artisan vendor:publish --tag=laravel-pt-br-localization
```4. 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
```## Versões do Laravel suportadas
- 12.x
- 11.x
- 10.x
- 9.x
- 8.x
- 7.x
- 6.x
- ^5.6### Para versões anteriores, consulte:
- [Laravel 5.5](https://github.com/enniosousa/laravel-5.5-pt-BR-localization)
- [Laravel 5.4](https://github.com/Leomhl/laravel-5.4-pt-br-localization)
- [Laravel 5.3](https://github.com/leandroluk/laravel-5.3-pt-br-localization)
- [Laravel 5.2](https://github.com/felipeporto/laravel-5.2-pt-br-localization)
- [Laravel 5.1](https://github.com/bmonteirog/laravel-5.1-pt-br-localization)