Polish localization provider for RadMessageBox

Thread is closed for posting
2 posts, 0 answers
  1. 1E3F09FE-5A4D-42E1-9A77-BD2C01767D96
    1E3F09FE-5A4D-42E1-9A77-BD2C01767D96 avatar
    18 posts
    Member since:
    Sep 2005

    Posted 23 Dec 2010 Link to this post

    Requirements

    RadControls version Q3.2010

    .NET version Any supported
    Visual Studio version Any supported

    programming language C#




    PROJECT DESCRIPTION
    This is Polish localization provider for RadMessageBox control.

    public class PolishRadMessageBoxLocalizationProvider : RadMessageLocalizationProvider
    {
        public override string GetLocalizedString(string id)
        {
            switch (id)
            {
                case RadMessageStringID.AbortButton:
                    return "Przerwij";
                case RadMessageStringID.CancelButton:
                    return "Anuluj";
                case RadMessageStringID.IgnoreButton:
                    return "Ignoruj";
                case RadMessageStringID.NoButton:
                    return "Nie";
                case RadMessageStringID.OKButton:
                    return "OK";
                case RadMessageStringID.RetryButton:
                    return "Ponów";
                case RadMessageStringID.YesButton:
                    return "Tak";
            }
            return string.Empty;
        }
    }

    To use it, execute somewhere in your application, once:

    RadMessageLocalizationProvider.CurrentProvider = new PolishRadMessageBoxLocalizationProvider();
  2. F11ADD2A-840D-4563-BD9F-564CF2DD488A
    F11ADD2A-840D-4563-BD9F-564CF2DD488A avatar
    2911 posts
    Member since:
    Apr 2022

    Posted 28 Dec 2010 Link to this post

    Hi Michal Chaniewski,

    Your Telerik Points have been updated for sharing this localization provider with the community.

     Regards,
    Stefan
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.