Skip to main content

Changing the language at runtime in X++

In the setSetup method of the SysUserSetup form within the if clause add the following:

if (infolog.language() != userinfo.language)
{
infolog.language(userinfo.language);
infolog.navPane().loadStartupButtons();
}