This is a migrated thread and some comments may be shown as answers.

Howto use Notifiy() / Localization

1 Answer 73 Views
RateApplicationReminder
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stefan
Top achievements
Rank 1
Stefan asked on 22 Nov 2013, 08:17 AM
Hi,

I do not quite understand the concept of how the RateReminder works. I added the creation of the reminder to InitializePhoneApplication():

RateReminder.RecurrencePerUsageCount = 5;
RateReminder.RecurrencePerTimePeriod = new TimeSpan(20, 0, 0, 0);

The goal is to show the reminder every 5 app starts or every 20 days (which ever comes first). Notify() is called when the MainPage is shown.The first 4 starts nothing happes, what is fine of course. On the 5th start the reminder is shown. But it shows up again each time the MainPage is activated. I thought that Notify() would notice on its own that it has been executed on this run and only show the reminder again when the app started the next 5 times. Do I have to handle "ReminderWasShownOnThisExecution" on my own?

How do I localize the Reminder? I read your documentation and the other post on this forum but I was not able to translate the dialog.

I use the AppResources.resx which was created automatically with the project. I added the following strings to the resx and added the ResourceManager to the Telerik controls:
MBCancelText
MBOkText
MBNoText
MBYesText
RateReminder_MessageBox_SkipFurtherRemindersMessage
Telerik.Windows.Controls.InputLocalizationManager.Instance.ResourceManager = AppResources.ResourceManager;

However this did not had any effect on the reminder...


1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 22 Nov 2013, 01:04 PM
Hello Stefan,

Thank you for your interest in RadRateApplicationReminder.

You can have a look at this blog post, which presents the Reminder with more details. You are not supposed to handle "ReminderWasShownOnThisExecution", after all this is why we have the RecurrencePerUsageCount. Make sure your setup is correct and the reminder is shown because of the usage and not because of the time elapsed. As the the localization, each assembly has its own localization manager and in the case of RadRateApplicationReminder, you need to use the PrimitivesLocalizationManager:

Telerik.Windows.Controls.PrimitivesLocalizationManager.Instance.ResourceManager = AppResources.ResourceManager;

If you need further assistance, don't hesitate to write us back.

Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
RateApplicationReminder
Asked by
Stefan
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or