Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Windows C#4.0 form
With the selection of checkboxes I want to change my entire form language.
i am new to c# please help. what is the whole procedure.
Posted 16-Jan-13 20:36pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

This is quite possible. First, you need to globalize the application. It should have flexible (fluid) layout to be independent of the strings in different languages; and all culture-dependent data should be placed in resources; in particular, all UI string data.
 
When this is done, you can add resource in different languages in separate projects. You don't even need the original projects, nothing except its resources. When this is done, properly, satellite assemblies are created. They should be named and placed according some culture-based naming conventions.
 
This way, localization work can be passed to some other team without giving them source code of the original product, only the resource. (Of course, those people should know the use of the product very well and know both languages. So, they need to product itself for reference and testing.)
 
The framework automatically finds all satellite assemblies by current thread culture and UI culture. You can switch culture during run time. If some satellite assembly cannot be found, the fallback mechanism finds the nearest available one, all the way back to original project resources, when nothing is found.
 
That's, basically, the essence of it. You will find further detail with MSDN links in my past answers:
globalization/localization problem in winform .net[^],
globalization in winforms[^].
 
—SA
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

It does not work like this here.
 
Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.
  Permalink  
Comments
Muhamad Faizan Khan at 26-Jan-13 22:42pm
   
is there any step by step gudie for localization?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 295
1 DamithSL 265
2 CPallini 235
3 Maciej Los 190
4 George Jonsson 170
0 OriginalGriff 5,415
1 DamithSL 4,422
2 Maciej Los 3,820
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,911


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100