getx icon indicating copy to clipboard operation
getx copied to clipboard

Translations / locale doesn't work on flutter web

Open bobosette opened this issue 2 years ago • 2 comments

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

bobosette avatar Aug 29 '22 18:08 bobosette

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.

windf17 avatar Sep 01 '22 15:09 windf17

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 avatar Sep 01 '22 21:09 bobosette

@bobosette it would be helpful if you close the issue.

jocubeit avatar Sep 30 '22 08:09 jocubeit