CutePager Localization

This is a place to discuss how to adapt mojoPortal to the needs of different cultures. Before asking questions here please first review the localization documentation.

This thread is closed to new posts. You must sign in to post in the forums.
12/18/2009 8:33:25 AM
Gravatar
Total Posts 6

CutePager Localization

Hi,

I was wondering if it's possible to localize the paging functionality of the feed aggregator and the search feature. All the label related to the CutePager functionality are present in my Resource.fr-CA.resx file but it doesn't seem to work. I've got Page 1 of 2 instead of Page 1 de 2 like it's suppose to be. Am I missing something?

 

12/18/2009 9:16:39 AM
Gravatar
Total Posts 18439

Re: CutePager Localization

Hi,

Thanks for pointing this out. I have just fixed it in my copy to localize all instances of CutePager in mojoPortal, so this will be fixed in the coming release.

To localize I created a new mojoCutePager in the mojoPortal.Web project, it inherits from CutePager and assigns the localizable properties from the        Resource.resx file during its OnInit event, I then replaced all instances of <mp:CutePager with <portal:mojoCutePager.

This way the localized properties never have to be set from code in a page or user control, we'll just use mojoCutePager going forward.

Best,

Joe

12/18/2009 9:22:03 AM
Gravatar
Total Posts 6

Re: CutePager Localization

Hi Joe,

Thanks for the quick reply. You are the best.

BTW I will be sending you an update of my french canadian translation.

Happy holidays.

You must sign in to post in the forums. This thread is closed to new posts.