The Laravel locale is declared as 'pt-BR' (uppercase BR) in config/languages.php, but the translations lived in lang/pt-br/ (lowercase). The laravel-vue-i18n Vite plugin names its output bundle after the folder — php_pt-br.json — so when the frontend resolved lang/php_pt-BR.json (from page.props.locale), the lookup failed silently and strings fell back to the raw keys which render as English-looking text. Renaming the folder to lang/pt-BR/ aligns bundle name, file system path, and Laravel locale code, so translations load correctly again for users with locale=pt-BR.
12 lines
237 B
PHP
12 lines
237 B
PHP
<?php
|
|
|
|
return [
|
|
'title' => 'Calendário',
|
|
'today' => 'Hoje',
|
|
'day' => 'Dia',
|
|
'week' => 'Semana',
|
|
'month' => 'Mês',
|
|
'new_post' => 'Novo Post',
|
|
'no_content' => 'Sem conteúdo',
|
|
'more' => '+:count mais',
|
|
];
|