Localization using Settings Profiles in VisualStudio 2005 Beta 2

Hi
I'm trying to make my application localizable (different languages) using application-settings and settings-profiles (one profile per language). I think this could be an easier way than working with ressources because I can bind settings directly to to my controls properties. So I can switch the language by simply change the current profile, also at runtime...
This is what I want to do...

Can someone tell me howto set/get the current profile programmatically? Or does someone know a better way to do the localization without writing functions like "Take_another_Ressource_File_and_update_all_texts_in_UI"...?

I hope someone can help me!
Thanks
Robert

[678 byte] By [RobertH.] at [2007-12-16]
# 1
Robert,

I don't know what the answer to your question is, but I can maybe help you. In this document there is a description of how to

implement localization without having to explicitly load ressources -

the platform changes automatically the language when you

(programmatically) change the current system user interface culture

:

http://www.ansi.edu.pk/library/visual_studio_donet/book3/netframehtml/32ch08f.htm#163659

So, in brief, if you simply translate your interface and, in the code,

change the culture, the corresponding language interface will be

loaded. You don't have to explicitly load the ressources.
Hoping this would

help you,
Eva

EvaDELORD at 2007-9-8 > top of Msdn Tech,Visual Basic,Visual Basic General...