Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Reproducibility:always
-
Category:UI
-
Edition:Community
Description
Friends, when I’m using the English language, all the values on the Dashboard and customer balance are correct:
Dashboard Example: Debit 0.0900 BRL
Customer balance example: 686.9100
But if I change it to Portuguese it changes to:
Dashboard Example: Debit 9.0000 BRL
Customer balance example: 68691.000
In fact, it’s any language it gives the decimal error, only English shows the decimals correctly!
I also tested it on cents 7 and the same error occurs. And when I try to delete a client in Portuguese, the screen goes blank and only the number 1 appears, then I have to go back, change it to English and then I can delete the client!
I also found out that the error is only for the default user, when creating a new user the user balance problem is solved, but the problem remains in the dashboard as shown in the image.
After a lot of work I discovered the error in ASTPP, when we change the translation and click Update Languages it only changes the file /opt/ASTPP/web_interface/astpp/language/pt_BR/LC_MESSAGES/messages.po but the translation will only work if the file with the extension .mo is also generated (messages.mo) it is generated from messages.po , and I don’t know why astpp only changes the messages.po file