← Volver a proyectos
Laravel9 Pt Br Language Files
Laravel 9 pt_BR Language Files
#Laravel 9 pt_BR Language Files
Este repositório contém os arquivos de mensagens no idioma Português Brasileiro (pt_BR) para o Laravel 9, incluindo Laravel Jetstream com Livewire
#Instruções para instalação:
- Clone o repositório para sua máquina
git clone https://github.com/cpereiraweb/laravel9-pt-br-language-files.git
-
Copie o arquivo
pt_BR.jsone a pastapt_BRpara a pastalangdo seu projeto Laravel 9. -
Edite o arquivo
config/app.phppara alterar o idioma (linhas 85 e 111):
...
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by the translation service provider. You are free to set this value
| to any of the locales which will be supported by the application.
|
*/
'locale' => 'pt_BR',
...
/*
|--------------------------------------------------------------------------
| Faker Locale
|--------------------------------------------------------------------------
|
| This locale will be used by the Faker PHP library when generating fake
| data for your database seeds. For example, this will be used to get
| localized telephone numbers, street address information and more.
|
*/
'faker_locale' => 'pt_BR',
...
E é isso!
Para mais detalhes sobre customizações de tradução no Laravel, veja a página da documentação aqui.
Happy coding!