Hi Seb,
we want to change the language of our application at runtime.
I tried several approaches and searched in the internet for a solution. But it seams to be a generally issue for a lot of developers and I think we have to reload the FMXL again to reach our goal.
But, because of our "singleton" models, it will not be loaded again.
So I tried to change the "canReleased" flag at runtime, but the release self is handled in a thread.
And if I want to (re-)set the model of an FXMLController by releasing the old first and create directly a new one via retrieve() and the UniqueKey of model class name, I get still the old/existent instance, because the release thread not done yet.
It would be great, if we have a method on model for reloading an FXML manually. So I don't have to release/create my singleton models.
What do you think? Or is there any other approach to change language at runtime, prepared in JRebirth framework?
Thanks a lot!
Andreas