Skip to Content
0
Jan 20, 2023 at 07:01 AM

Addon - Button Captions multilanguage

34 Views

In SAP B1, is it possible to save button caption in the DB according to the selected language?

Or how to resolve multilingual caption (title,...) according to system language?

So far I have only come up with such a stupid solution.

switch (Application.SBO_Application.Language)
                {
                    case SAPbouiCOM.BoLanguages.ln_Slovak_Sk:
                        this.Button3.Caption = "Zobraz heslo";
                        break;
                    case SAPbouiCOM.BoLanguages.ln_Czech_Cz:
                        this.Button3.Caption = "Zobraz heslo";
                        break;
                    case SAPbouiCOM.BoLanguages.ln_German:
                        this.Button3.Caption = "Passwort anzeigen";
                        break;
                    default:
                        this.Button3.Caption = "Show password";
                        break;
                }<br>