getx
getx copied to clipboard
Translations / locale doesn't work on flutter web
Hi everybody. I have a problem with the translations on flutter web. It doesn't work and I don't know why (for example: if I put 'label'.tr it shows only label and not the corresponding string). I setted up everything right. Any suggest??
Thank you
If you put the message in a variables outside the getx's Widget, then there will be a problem with the translations, because the content of that variable is determined, It does not receive a refresh notification.
Fixed it. Was my fault. Sorry
Il Gio 1 Set 2022, 17:31 windf17 @.***> ha scritto:
If you put the message in a variables outside the getx's Widget, then there will be a problem with the translations, because the content of that variable is determined, It does not receive a refresh notification.
— Reply to this email directly, view it on GitHub https://github.com/jonataslaw/getx/issues/2524#issuecomment-1234444951, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEWB4NOXTOYKBAICLGSZMDV4DD53ANCNFSM576WXJOQ . You are receiving this because you authored the thread.Message ID: @.***>
@bobosette it would be helpful if you close the issue.