Spanish RadWizard Localization ( Español )

Thread is closed for posting
2 posts, 0 answers
  1. C5DDFA2C-7698-4BA7-B32C-3D24B41A5D69
    C5DDFA2C-7698-4BA7-B32C-3D24B41A5D69 avatar
    7 posts
    Member since:
    Jul 2009

    Posted 17 May 2011 Link to this post

    Spanish RadWizard Localization ( Español )

    Just create a new class ie. RadWizardLocalizationProviderEsp.cs and paste the following code:

    Solo crea una nueva clase por ejemplo RadWizardLocalizationProviderEsp.cs y pega el siguiente codigo:

    using Telerik.WinControls.UI;
     
    class RadWizardLocalizationProviderEsp : RadWizardLocalizationProvider
    {
        public override string GetLocalizedString(string id)
        {
            switch (id)
            {
                case RadWizardStringId.BackButtonText: return "<   Atras";
                case RadWizardStringId.NextButtonText: return "Adelante   >";
                case RadWizardStringId.CancelButtonText: return "Cancelar";
                case RadWizardStringId.FinishButtonText: return "Finalizar";
                case RadWizardStringId.HelpButtonText: return "<html><u>Ayuda</u></html>";
                default: return string.Empty;
            }
        }
    }

    Now you need to tell RadWizardLocalizationProvider which language provider to use, I do this on main load event, make sure you have this using Telerik.WinControls.UI on top of your class

    Ahora necesitas decirle al RadWizardLocalizationProvider que proveedor de lenguage debe usar, esto yo lo hago en el evento load principal, asegurate de tener esto using Telerik.WinControls.UI; en la parte superior de tu clase

    RadWizardLocalizationProvider.CurrentProvider = new RadWizardLocalizationProviderEsp();

    And now you should be able to see spanish language. Cheers =)

    Y ahora debes de tener tu control en español. Saludos =)

    Alex Soto
  2. F11ADD2A-840D-4563-BD9F-564CF2DD488A
    F11ADD2A-840D-4563-BD9F-564CF2DD488A avatar
    2911 posts
    Member since:
    Apr 2022

    Posted 20 May 2011 Link to this post

    Hello dalexsoto,

    Thank you for sharing this localization provider with the community. Your Telerik points have been updated accordingly.
     
    Kind regards,
    Stefan
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'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.