Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
356
How to Translate an entry at AppointmentRecurrence class Description ?
posted

At the samples that comes with Infragistics, there is one called "AppointmentDialog2007 CS" at folder:

C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for .NET 2007 Vol. 2 CLR 2.0\Samples\WinForms\WinSchedule\CS\AppointmentDialog2007 CS

Inside the form frmAppointmentDialog2007.cs there is a method called "VerifyAppointmentStatus()", within it, the line:

this.lblStatus.Text = this.Recurrence.Description;

returns an description in english, but I wish to translate that. An example would be:

""Occurs every tuesday effective 9/7/2009 from 6:19 to 6:49."

"this.Recurrence" is an object of the class Infragistics.Win.UltraWinSchedule.AppointmentRecurrence.

But I looked at :
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/WinSchedule_Resource_Strings.html

and there is no such string to translate.

Please, how can I translate that?

  • 69832
    Verified Answer
    Offline posted

    There is no clear-cut way to do that, which is why MS Outlook doesn't support it either. The information you need is available via public properties, so if you are familiar with the grammatical structure of a given language you can build the strings; for example:

    "Occurs every {PatternDaysOfWeek} effective {RangeStartDate} from {OccurrenceStartTime} to {OccurrenceStartTime + OccurrenceDuration}

    There is no formulaic conversion between multi-word phrases in different languages, that is, the linguistic rules vary such that the order in which verbs and nouns appear can be arbitrarily different in each language. Because of this, it is impossible to provide localizable strings for recurrence descriptions.