Last post Apr 13, 2010 04:34 AM by Das.Sandeep
Apr 13, 2010 12:08 AM|enableDeepak|LINK
I was trying to figure out difference between keywords like Internationalization, Localization etc. and publish paper on best practice. But I got confused even on basic definitions which are so varying on internet. Following are 2 theories I found, so far.
please advise which is correct?
Theory - 1
Globalization is a plan tom implement Internationalization and Localization
Internationalization - It is not implementing multiple languages, but it include activities so that Application can be made to support multi-languages and cultures in future. Like doing activities such as:
- Using nVarchar instead of varchar
- Avoiding Satic text and instead storing data to display in resource/text files
Localization - This is actual process when an internationalized application is updated with multiple languages and localization settings. For example, continuing with Internationalziation I would say activities like:
- Formatting Date, Numbers, Currency etc. using CurrentCulture class
- Adding text for different languages in files (we created during internationalization process) and customizing UI
- Using CurrentUICulture class for language conversions
- Providing user an interface to set their preferences
- Regional Settings in Administrative Panel of Windows is actually Localization
Theory - 2
Globalization - same as above
Internationalization - First part of aforesaid Localization definition - Number. Currency etc. formatting (General Tab in Regional Settings)
Localization - Second part of aforesaid Localization definition - Language Translation (Language Tab in Regional Settings)
Which one is correct theory? If both above are wrong, what is right?
Apr 13, 2010 12:55 AM|ignatandrei|LINK
Internationalization = theory 1 - but does not involve changing regional settings
There are actually 2 parts :
for Windows application - if language not set, see the language from Regional Settings and the let the user choose and store ( database, file on disk, etc)
for Web application - if language not set, see the language from browser(IE,FF) and the let the user choose and store (cookie, database, file on disk, etc)
Localization - the process to add a new language to the site ( please note that Swiss has 3 official languages ...)
Apr 13, 2010 01:26 AM|enableDeepak|LINK
Thanks for the reply. based on your answer, I have few more related quick queries which will finally resolve my all confusion.
Q1) Am I right then to say that Localization includes both Transaltion of text and formatting of decimals,currencies etc.? Which means, both CurrentCulture and CurrentUIculture actually fall under broad header "localization"?
Q2) Just for concept/analogy (and not actual use), can we say:
"Using Regional Settings Tab is kind of Localization and Windows is internationalized to make localization work"
And, the tabs inside regional settings, as an analogy, performs localization.
- Regional Settings->General Tab corresponds to CurrentCulture (Formatting dates/Decimals etc)
- Regional Settings->Language Input (Tab2) and Language Display Tab (Tab3, which sets text for Windows UI) corresponds to CurrentUICulture (Transalation)
Apr 13, 2010 04:06 AM|ignatandrei|LINK
CurrentCulture is about the rendering format( such as the decimal separator for numbers)
CurrentUICulture is about resources ( translation)
Q2)yes - but this will tend inexperienced programmers to change the regional settings instead of changing the application!
Apr 13, 2010 04:34 AM|Das.Sandeep|LINK
I have created sample for this, you will get better idea.
Mark as answer if it helps.