Discussion:
changing GUI language, infolog.language --> refresh?
(too old to reply)
TomVO
2010-03-02 08:47:55 UTC
Permalink
Hi,

it is possible to change the GUI language at runtime using
e.g. infolog.language('en-us')

Now, after changing the language to French for example, and changing
back to English again, some labels in the navigation pane and other
places don't refresh correctly.

Is there a way to refresh the AX Main Window or something to force a
refresh on everything?

Regards,
Tom
Jonas
2010-03-02 09:36:01 UTC
Permalink
I am not sure if this helps you, but check the method setSetup of the
SysUserSetup form. Perhaps you find something there.
However, not even the Apply button in this form changes the language of the
navigation pane, so I guess it might not be possible. Please let us know if
you find a way.

/Jonas
Post by TomVO
Hi,
it is possible to change the GUI language at runtime using
e.g. infolog.language('en-us')
Now, after changing the language to French for example, and changing
back to English again, some labels in the navigation pane and other
places don't refresh correctly.
Is there a way to refresh the AX Main Window or something to force a
refresh on everything?
Regards,
Tom
.
TomVO
2010-03-02 09:58:48 UTC
Permalink
No indeed, you need to restart AX to get the interface language changed
from the user setup. Maybe because of this refresh issue :)
Post by Jonas
I am not sure if this helps you, but check the method setSetup of the
SysUserSetup form. Perhaps you find something there.
However, not even the Apply button in this form changes the language of the
navigation pane, so I guess it might not be possible. Please let us know if
you find a way.
/Jonas
Post by TomVO
Hi,
it is possible to change the GUI language at runtime using
e.g. infolog.language('en-us')
Now, after changing the language to French for example, and changing
back to English again, some labels in the navigation pane and other
places don't refresh correctly.
Is there a way to refresh the AX Main Window or something to force a
refresh on everything?
Regards,
Tom
.
Jonas
2010-08-10 11:36:06 UTC
Permalink
Hi again

I just found a way to do this:
infolog.navPane().loadStartupButtons();

I added that code into the sysSetup method of the SysUserSetup form (also
wrapped it into an if clause)

if (infolog.language() != userinfo.language)
{
infolog.language(userinfo.language);
infolog.navPane().loadStartupButtons();
}
Post by TomVO
No indeed, you need to restart AX to get the interface language changed
from the user setup. Maybe because of this refresh issue :)
Post by Jonas
I am not sure if this helps you, but check the method setSetup of the
SysUserSetup form. Perhaps you find something there.
However, not even the Apply button in this form changes the language of the
navigation pane, so I guess it might not be possible. Please let us know if
you find a way.
/Jonas
Post by TomVO
Hi,
it is possible to change the GUI language at runtime using
e.g. infolog.language('en-us')
Now, after changing the language to French for example, and changing
back to English again, some labels in the navigation pane and other
places don't refresh correctly.
Is there a way to refresh the AX Main Window or something to force a
refresh on everything?
Regards,
Tom
.
.
Loading...