I need an assignment dialog that is similar to what is built in; some fields will stay and others will be replaced. Recurrence is needed. It seems that I can either create my own dialog or customize the built in dialog. I'm not yet sure which way to go, but the second option seems like less work.
All links I have seen on customizing the built in dialog don't work. Can someone point me to information on doing this?
If I create my own dialogs, will I be able to use the appointment prompting? Or will I need to handle that as well?
I have a related question which may also affect my decision on which method to use. Can the built in appointment and recurrence dialogs be translated? Will they respond to change in culture and language in the operating system?
Thanks!
RoseAquila said:Can the built in appointment and recurrence dialogs be translated? Will they respond to change in culture and language in the operating system?
Thanks. So, are the translations built in? Or do I need to get translations?
Hello RoseAquila,
Has this issue been addressed?
Please refer to this page in the online help. It lists the resource strings that can be localized in WinSchedule, including the Appointment and Recurrence form strings.
Elizabeth Albert
Localization Engineer
Thanks for the link, Elizabeth. I still have questions. How do the strings get localized? Do I need to get the strings translated? Is there a resource file I can send tot he translators?
Rose
Hello Rose,
In our source code, we do have a resource file with these strings. Our source code is available through the web site. If you sign in and go to "My Keys and Downloads", you should be able to access it. The resource file you're looking for should be located under UltraWinSchedule/strings.resx. You can send this file to a translator.
To localize the strings, you could add the translated resource file (ex. Strings.es.resx for Spanish) to the source code project and rebuild the Schedule assembly. I think this would be the recommended way if you're trying to localize all of the Schedule dialogs.
Another way would be to follow the steps in this online help article.
Please let me know if you have any other questions.
Hello Elizabeth,
Since I will need strings for at least 2 dialogs and errors and so on, it seem better to get the resource string translated than to change each string by hand as shown in the article.
What do you mean when you say, "To localize the strings, you could add the translated resource file (ex. Strings.es.resx for Spanish) to the source code project and rebuild the Schedule assembly?" I'm unclear about "add ... to the source code project" and "rebuild the Schedule assembly."
I have attached a .zip file that contains a Word document I just wrote about how to rebuild the Schedule assembly. It also shows how to add the translated resource file to the Schedule project.
Note that having the product installed and downloading our source code are prerequisites.
Please let me know if this isn't clear. I tried to include lots of screenshots but then I exceeded the maximum file upload size.
Hello maalvamo,
What example are you looking for? This thread is about customizing the WinSchedule dialogs. For information on how to do that, please refer to this topic and this list of strings.
Let me know if you need more information.
Elizabeth AlbertLocalization Engineer
where I can find this example?
Elizabeth,
For item 1, the string does indeed exist, but it does not even appear in the list of resource strings for WInSchedule. It makes me wonder what other strings I need, but I guess I will just have to find them one at a time.
Thanks for pointing it out.
I will check on item 2 as soon as I can.
Thanks again!
1. The informational dialog boxes should be available in the WinSchedule resource file. I checked the source code that I have access to, and found it under the following key:
LD_P_RecurrenceDialog_PatternDayOfMonthExceeds28
Could you please check for that resource?
"Some months have fewer than {0} days. For these months, the occurrence will fall on the last day of the month."
The {0} is the xx that you referred to.
If this resource is not included in the source code that can be downloaded, I'll follow up with my coworkers to find out why we do not include it.
2. For the XamMonthCalendar, please refer to this post. If you have the same requirements (not to base the names of the days and months on the culture), then that should be submitted as a feature request.
Hi Elizabeth,
This was very helpful! It works great!
I have 2 other questions.
1) Where can I find some of the text for informational dialog boxes? For instance, I get a message that says "Some months have fewer than xx days. For these months, the occurrence will fall on the last day of the month/" and xx is 30, 31, etc. IT doesn' not seem to be in the WinSchedule resource string file.
2) I know this is the WinForm forum, but I thought you might be able to help. Where do the day and month string for the XamMonthCalendar?
Thanks,