Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Globalization in C#

Can somebody explain to me what is the use of globalization in C#?

Is it used for conversion purposes? I mean I want to convert any English word into a selected language.

So will this globalization or cultureinfo help me?

like image 656
Nagu Avatar asked Dec 03 '22 14:12

Nagu


2 Answers

Globalization is a means of formatting text for specific cultures. E.g. a string representation of the number 1000 may be 1,000.00 for the UK or 1'000,00 for France. It is quite an in depth subject but that is the essential aim. It is NOT a translation service, but it does allow you to determine the culture under which your application is running and therefore allow you to choose the language you want to display. You will have to provide text translation yourself, however, usually by means of resource files.

like image 174
Adam Ralph Avatar answered Dec 28 '22 19:12

Adam Ralph


Globalization is a way of allowing the user to customize the application that he or she may be using to fit the standards where they may be. Cusomtization allows for the:

  1. Money Formatting
  2. Time
  3. Date
  4. Text orientation

To be culturally appropriate. The region that is currently set is handled by the OS and passed to your application. Globalization/Internationalization(I18n) also typically motivates the developer to separate the displayed text of the program from the implementation its self.

like image 36
monksy Avatar answered Dec 28 '22 18:12

monksy