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
Hi @jonataslaw ive been using getx for professional projects for a while and first let me congratulate you and the collaborators on this project for such an awesome framework.
As of my last project , i have been using a class to hold references by way of static variables to my translations(english and french) in the form of
I have also created links to switch langages on the fly so that upon clicking them, the static variables are refreshed as shown below:
Unfortunately i noticed that some of my references do not get updated .In fact i also use some of those strings in controller's methods , some of them are built in the onInit method
I'd like to know if there is a way to get all my references to my strings updated as soon as they are reinitialized.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi @jonataslaw ive been using getx for professional projects for a while and first let me congratulate you and the collaborators on this project for such an awesome framework.
As of my last project , i have been using a class to hold references by way of static variables to my translations(english and french) in the form of
I have also created links to switch langages on the fly so that upon clicking them, the static variables are refreshed as shown below:
Unfortunately i noticed that some of my references do not get updated .In fact i also use some of those strings in controller's methods , some of them are built in the onInit method
I'd like to know if there is a way to get all my references to my strings updated as soon as they are reinitialized.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions