FrenshRadReminderLocalization

2 posts, 0 answers
  1. Iheb
    Iheb avatar
    7 posts
    Member since:
    Jan 2013

    Posted 14 Aug 2013 Link to this post

    Requirements
    RadControls version Q2 2013 SP1 
    .NET version 4.0
    Visual Studio version 2010 
    Programming language C# 
    Browser support N/A

    PROJECT DESCRIPTION
    This is the french localisation of RadReminder

    public class FrenshRadReminderLocalizationProvider : RadReminderLocalizationProvider
            {
                public override string GetLocalizedString(string id)
                {
                    switch (id)
                    {
                        case RadReminderStringId.AlarmFormButtonDismiss:
                            return "Faire disparaître";
                        case RadReminderStringId.AlarmFormButtonDismissAll:
                            return "Faire tout disparaître";
                        case RadReminderStringId.AlarmFormButtonOpenItem:
                            return "Ouvrir l'élément";
                        case RadReminderStringId.AlarmFormButtonSnooze:
                            return "Répéter";
                        case RadReminderStringId.AlarmFormColumnDueIn:
                            return "Echéance";
                        case RadReminderStringId.AlarmFormColumnSubject:
                            return "Objet";
                        case RadReminderStringId.AlarmFormLabelSnooze:
                            return "Cliquez sur Répéter pour recevoir un rappel dans :";
                        case RadReminderStringId.AlarmFormReminder:
                            return "Mémoire";
                        case RadReminderStringId.AlarmFormReminders:
                            return "Souvenirs";
                        case RadReminderStringId.AlarmFormSelectMoreRemindObjects:
                            return "Les souvenirs sont sélectionnés.";
                        case RadReminderStringId.AlarmFormSnoozeEightHours:
                            return "8 heures";
                        case RadReminderStringId.AlarmFormSnoozeFifteenMinutes:
                            return "15 minutes";
                        case RadReminderStringId.AlarmFormSnoozeFiveMinutes:
                            return "5 minutes";
                        case RadReminderStringId.AlarmFormSnoozeFourDays:
                            return "4 jours";
                        case RadReminderStringId.AlarmFormSnoozeFourHours:
                            return "4 heures";
                        case RadReminderStringId.AlarmFormSnoozeHalfDay:
                            return "0,5 jour";
                        case RadReminderStringId.AlarmFormSnoozeOneDay:
                            return "1 jour";
                        case RadReminderStringId.AlarmFormSnoozeOneHour:
                            return "1 heure";
                        case RadReminderStringId.AlarmFormSnoozeOneMinute:
                            return "1 minute";
                        case RadReminderStringId.AlarmFormSnoozeOneWeek:
                            return "1 semaine";
                        case RadReminderStringId.AlarmFormSnoozeTenMinutes:
                            return "10 minutes";
                        case RadReminderStringId.AlarmFormSnoozeThirtyMinutes:
                            return "30 minutes";
                        case RadReminderStringId.AlarmFormSnoozeThreeDays:
                            return "3 jours";
                        case RadReminderStringId.AlarmFormSnoozeTwoDays:
                            return "2 jours";
                        case RadReminderStringId.AlarmFormSnoozeTwoHours:
                            return "2 heures";
                        case RadReminderStringId.AlarmFormSnoozeTwoWeeks:
                            return "2 semaines";
                        case RadReminderStringId.DueInDay:
                            return "Jour de retard";
                        case RadReminderStringId.DueInDays:
                            return "Jours de retard";
                        case RadReminderStringId.DueInHour:
                            return "Heure de retard";
                        case RadReminderStringId.DueInHours:
                            return "Heures de retard";
                        case RadReminderStringId.DueInMinute:
                            return "Minute de retard";
                        case RadReminderStringId.DueInMinutes:
                            return "Minutes de retard";
                        case RadReminderStringId.DueInOverdue:
                            return "Depuis {0}";
                        case RadReminderStringId.DueInWeek:
                            return "Semaine de retard";
                        case RadReminderStringId.DueInWeeks:
                            return "Semaines de retard";
                        case RadReminderStringId.DueInNow:
                            return "Maintenant";
                        default:
                       
          break;
                    }
     
                    return String.Empty;
                }
            }


    RadReminderLocalizationProvider.CurrentProvider = new FrenshRadReminderLocalizationProvider();

    the button Dimiss all is too small for containing the frensh text so we resize it

    private void radSchedulerReminder1_AlarmFormShowing(object sender, RadAlarmFormShowingEventArgs e)
           {
               RadAlarmForm dialog = (RadAlarmForm)e.AlarmForm;
            
               Control c = dialog.Controls.Find("radButtonDismissAll", true)[0];
               if (c != null)
     
                   c.Width = 120;
           }

  2. George
    Admin
    George avatar
    500 posts

    Posted 19 Aug 2013 Link to this post

    Hi Iheb,

    Thank you for sharing this French localization provider with the community. I am sure someone will find it useful.

    I have updated your Telerik Points for your time and efforts.
     
    Regards,
    George
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top