513 views
in GUI Development by
Hello,
I am loading from memory the language selected by user on previous ON/OFF.
This is working correct.

However not all language strings are being updated.
I am using this.InvalidateViewState();
I also have a slot i call as a callback function to redraw the screen after i have loaded the language variable with the new language.
It does not work.

What can i do?

1 Answer

0 votes
by
 
Best answer

Hello bjs,

when changing the language dynamically, all string resources directly assigned within the Inspector will be re-loaded when the MultiLingual flag is set for the related class.
If a string is assigned programmatically, you have to make sure that it is re-assigned again. Please read about using the the ReInit method.
More details you can find within the documentation section managing-localization.

With kind regards,
Rudolf

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...