Page 9 Languages, source in 26

Source242526272829metadata in 26

src/System Application/App/Language/src/Languages.Page.al68 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

namespace System.Globalization;

/// <summary>
/// Page for displaying application languages.
/// </summary>
page 9 Languages
{
    Caption = 'Languages';
    AdditionalSearchTerms = 'multilanguage';
    ApplicationArea = All;
    PageType = List;
    SourceTable = Language;
    UsageCategory = Administration;
    ContextSensitiveHelpPage = 'ui-change-basic-settings#language';

    layout
    {
        area(Content)
        {
            repeater(Control2)
            {
                ShowCaption = false;
                field("Code"; Rec.Code)
                {
                    ApplicationArea = All;
                    ToolTip = 'Specifies the code for a language.';
                }
                field(Name; Rec.Name)
                {
                    ApplicationArea = All;
                    ToolTip = 'Specifies the name of the language.';
                }
                field("Windows Language ID"; Rec."Windows Language ID")
                {
                    ApplicationArea = All;
                    LookupPageId = "Windows Languages";
                    ToolTip = 'Specifies the ID of the Windows language associated with the language code you have set up in this line.';
                }
                field("Windows Language Name"; Rec."Windows Language Name")
                {
                    ApplicationArea = All;
                    DrillDown = false;
                    ToolTip = 'Specifies if you enter an ID in the Windows Language ID field.';
                }
            }
        }
    }
    actions
    {
        area(Navigation)
        {
            action(ShowAllowedLanguagesNotification)
            {
                ApplicationArea = All;
                Caption = 'Allowed Languages';
                ToolTip = 'Shows the list of allowed languages for this environment.';
                RunObject = Page "Allowed Languages";
                Image = Language;
            }
        }
    }
}