DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 27 Jul 2007 03:24:00 -0700,    posted on: microsoft.public.dotnet.internationalization        back       

Thread Index
  1    tom
          2    Mihai N.
                 3    (Garrett McGowan [MSFT])


globalization of MonthCalendar control   
Hello,

We have an application that runs in different languages. On startup, when 
the user of the application has chosen his language we do for example this 
for French :

System.Threading.Thread.CurrentThread.CurrentUICulture = new 
System.Globalization.CultureInfo("fr");
System.Threading.Thread.CurrentThread.CurrentCulture = 
System.Globalization.CultureInfo.CreateSpecificCulture("fr");

All is great, application starts in French. However, the calendar controls 
still displays the month names in the language specified for the user on the 
OS.

Anyone any ideas on how to make sure that celendar control uses the 
"application language" and not the "OS-language"?


Thanx,
Tom
Date:Fri, 27 Jul 2007 03:24:00 -0700   Author:  

Re: globalization of MonthCalendar control   

> Anyone any ideas on how to make sure that celendar control uses the 
> "application language" and not the "OS-language"?


Have an idea: not possible :-(

This is also the case for all kind of common controls and dialogs
(Open/Save, Print, Fonts dialogs, context menu of the standard edit
control, the buttons of MessageBox, etc.)


-- 
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
Date:Sat, 28 Jul 2007 01:43:52 -0700   Author:  

Re: globalization of MonthCalendar control   
Mihai is correct. I'm afraid that this is how the controls were designed to 
behave, and there's no override.

--------------------

>Subject: Re: globalization of MonthCalendar control
>From: "Mihai N." 
>Newsgroups: microsoft.public.dotnet.internationalization
>Date: Sat, 28 Jul 2007 01:43:52 -0700
>
>> Anyone any ideas on how to make sure that celendar control uses the 
>> "application language" and not the "OS-language"?
>
>Have an idea: not possible :-(
>
>This is also the case for all kind of common controls and dialogs
>(Open/Save, Print, Fonts dialogs, context menu of the standard edit
>control, the buttons of MessageBox, etc.)
>
>-- 
>Mihai Nita [Microsoft MVP, Windows - SDK]
>http://www.mihai-nita.net
>------------------------------------------
>Replace _year_ with _ to get the real email
>


Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Date:Tue, 31 Jul 2007 22:51:54 GMT   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us