fix: rename lang/pt-br folder to lang/pt-BR to match locale code

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.
This commit is contained in:
Paulo Castellano 2026-04-16 10:47:24 -03:00
parent 3579caea7a
commit 6bd1e46f9a
19 changed files with 0 additions and 0 deletions