Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucascudo/laravel-pt-BR-localization
Tradução do Laravel para português brasileiro (pt-BR locale). Buy me a coffe: https://www.buymeacoffee.com/lucasrocha
https://github.com/lucascudo/laravel-pt-BR-localization
laravel locale localization php portuguese portuguese-brazilian pt-br translation
Last synced: 2 months ago
JSON representation
Tradução do Laravel para português brasileiro (pt-BR locale). Buy me a coffe: 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 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-10T20:28:26.000Z (3 months ago)
- Last Synced: 2024-04-06T15:47:46.509Z (3 months ago)
- Topics: laravel, locale, localization, php, portuguese, portuguese-brazilian, pt-br, translation
- Language: PHP
- Homepage:
- Size: 190 KB
- Stars: 970
- Watchers: 33
- Forks: 203
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: .github/SECURITY.md
Lists
- my-awesome-stars - lucascudo/laravel-pt-BR-localization - Tradução do Laravel para português brasileiro (pt-BR locale). Buy me a coffe: https://www.buymeacoffee.com/lucasrocha (PHP)
README
# Módulo de linguagem pt-BR (português brasileiro) para Laravel
![example workflow](https://github.com/lucascudo/laravel-pt-br-localization/actions/workflows/master.yml/badge.svg) [![Total Downloads](https://poser.pugx.org/lucascudo/laravel-pt-br-localization/downloads)](https://packagist.org/packages/lucascudo/laravel-pt-br-localization) [![Latest Stable Version](https://poser.pugx.org/lucascudo/laravel-pt-br-localization/v/stable)](https://packagist.org/packages/lucascudo/laravel-pt-br-localization) [![License](https://poser.pugx.org/lucascudo/laravel-pt-br-localization/license)](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'
```## Versões do Laravel suportadas
- 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)