Hi,
I'm trying to make a multilanguage application.
I manage to create the forms resource files for each language and to read
them (rm.GetString("Label1.Text", pCultureInfo)), but I need to change all
objects after changing pCultureInfo.
Is it possible to change the forma language in code? Where? How?
(I see that in designtime when I change the language, all objects are
updated... It might be possible to do it in runtime)
Thanks
CC
Bryan Phillips - 14 Mar 2007 19:53 GMT
You can change the language displayed at runtime by setting
System.Threading.Thread.CurrentThread.CurrentUICulture to a different
CultureInfo.
To change formatting for dates, currency, etc..., use
System.Threading.Thread.CurrentThread.CurrentCulture.
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
> Hi,
>
[quoted text clipped - 8 lines]
> Thanks
> CC