You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output of php bakery locale:compare -l en_US -r pt_BR shows
=================
Comparing `en_US` with `pt_BR`
------------------------------
Comparison between Brazilian portuguese and English
---------------------------------------------------
In` ByteString.php line 444:
Invalid "UTF-8" string.
So I added error logging just before the error message to identify the string: string(59) "�lido. Escolha um nome diferente, ou clique em 'sugestão'."
Searching for that string: ack 'Escolha um nome diferente' . app/sprinkles/sprinkle-account/app/locale/pt_BR/messages.php 144: 'NOT_AVAILABLE' => 'Usuário <strong>{{user_name}}</strong> não é válido. Escolha um nome diferente, ou clique em \'sugestão\'.',
So the error is coming from v**á**lido in the string above.
Running a similar comparison using a different language also results in errors, eg php bakery locale:compare -l en_US -r fr_FR shows an error for string(20) "� la page d'accueil."
Steps To Reproduce
No response
The text was updated successfully, but these errors were encountered:
UF code and language files doesn't seems to be the problem here. Seams more of an issue with Symfony. When wrapping the text to display in the console, Symfony uses substr.
Affected sprinkle or package
userfrosting/sprinkle-core
UserFrosting or package Version
5.1.x
Debug Data
Chat Discussion (optional)
No response
Description
Continuation from : #1263
The output of
php bakery locale:compare -l en_US -r pt_BR
showsSo I added error logging just before the error message to identify the string:
string(59) "�lido. Escolha um nome diferente, ou clique em 'sugestão'."
Searching for that string:
ack 'Escolha um nome diferente' . app/sprinkles/sprinkle-account/app/locale/pt_BR/messages.php 144: 'NOT_AVAILABLE' => 'Usuário <strong>{{user_name}}</strong> não é válido. Escolha um nome diferente, ou clique em \'sugestão\'.',
So the error is coming from
v**á**lido
in the string above.Running a similar comparison using a different language also results in errors, eg
php bakery locale:compare -l en_US -r fr_FR
shows an error forstring(20) "� la page d'accueil."
Steps To Reproduce
No response
The text was updated successfully, but these errors were encountered: