Calendar extender 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.
3/19/2012 11:03:45 AM
Total Posts 9

Calendar extender localization

I have a problem with the localization of calendar extender in the AJAX Control Toolkit. I have set in the web.config:

<globalization culture="auto:cs" uiCulture="auto:cs-CZ" requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="iso-8859-15"/>

But still my calendar displays in English, but should in Czech, as here:
My using the calendar is here:

Any ideas?

Thanks JS

3/20/2012 8:19:05 AM
Total Posts 18439

Re: Calendar extender localization

I recommend don't change those settings in Web.config, see the article Forcing a Specific Language for the correct way to specify the language settings that the thread will execute as.

Setting it like you did in Web.config can cause null exceptions because the .cz resources are incomplete, and if it tries to use a missing key it can cause a null reference exception. Doing it the way I recommend it will always fall back to English for any missing keys and the language you set it to.

You'll also need to add these properties on <asp:ScriptManager in your layout.master file

EnableScriptGlobalization="true" EnableScriptLocalization="true" ie like this:

<asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true" />

Hope that helps,


3/20/2012 12:37:38 PM
Total Posts 9

Re: Calendar extender localization



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