[Mono-aspnet-list] ASP.NET Localization problem

Alberto León leontiscar at gmail.com
Tue Oct 23 14:23:42 UTC 2012


You should set it in web.config of your site

<globalization uiCulture="it" culture="it-IT" />


2012/10/23 badstorm <badstorm at gmail.com>

> Hi,
> I built an ASP.NET application on my workstation (MacOsX+MonoDevelop 3)
> and
> in a page I have this line of code:
>
> day_label.Text = DateTime.Now.ToString("dddd dd MMMM yyyy");
>
> When I run the site from Monodevelop on the page, the date is write in
> italian style: "lunedì 23 ottobre" (my intent). But when I put the site on
> a
> Ubuntu Server the date is write with english style: "Monday 23 October".
>
> How I must set the server (mod_mono+apache) to use italian culutre info?
>
> Thanks
>
> Marco
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/ASP-NET-Localization-problem-tp4657068.html
> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>



-- 

http://stackoverflow.com/users/690958/alberto-leon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20121023/50c16b66/attachment.html>


More information about the Mono-aspnet-list mailing list