Codeunit 53 Translation Helper

Base Application, System.IO

Source AL, 103 lines

src/Layers/W1/BaseApp/Modules/System/Translation/TranslationHelper.Codeunit.allines 6 to 21 of 103, Copyright (c) Microsoft Corporation. MIT

codeunit 53 "Translation Helper"{    // The codeunit is designed to clean the defined functions from codunit 43 (Language Management).    // The functions are needed exclusively to provide means to translate TextConst variables.    // This functionality should be provided in the platform and this codeunit should be deleted.    trigger OnRun()    begin    end;    var        SavedGlobalLanguageId: Integer;    // <summary>    // Sets the global language by language code.

All 103 lines

Public procedures 5 in 29

SetGlobalLanguageByCode(LanguageCode: Code[10])17-29
SetGlobalLanguageById(LanguageId: Integer)17-29
SetGlobalLanguageToDefault()17-29
RestoreGlobalLanguage()17-29
GetTranslatedFieldCaption(LanguageCode: Code[10]; TableID: Integer; FieldId: Integer): Text17-29