I am creating an application with support for multilingual operating system . At one place in the application I am using following line of code.
Type t = typeof(System.Windows.Forms.NotifyIcon);
BindingFlags hidden = BindingFlags.NonPublic | BindingFlags.Instance;
t.GetField("text", hidden).SetValue(notifyIcon, notificationToolTip);
Will it run smoothly on different language Operating system , or I have to change the required fields for different language. For example , for french operating system I have to make the following changes.
t.GetField("texte",hidden),SetValue(notifyIcon,notificationToopTip);