What is the difference between localization and globalization in net




















Before starting, let's get these two terms straight. Globalization is the process of designing the application in such a way that it can be used by users from across the globe multiple cultures. Localization, on the other hand, is the process of customization to make our application behave as per the current culture and locale.

These two things go together. To do globalization we need to use Resource Files. Let's Start To add Resource Files to our project:. Let us add some data in these files; open "Resource. Open "Resource. Add two Labels For accessing the resource file you need to add syntax like this:.

To accomplish this, what we need to do is to override the InitializeCulture function and set the UICulture to the user selected language. Collections; using System. Configuration; using System. Data; using System. Linq; using System. What is the difference between globalization and localization? Globalization is the process of making a product multi-lingual. All language-related aspects of the program are separated from the code, and all aspects, which vary with target country, are handled in a country-independent way.

Localization is the process of adapting a global product for a particular language and country. Localization includes translations and other conversion, and takes into account local practices and culture, providing a product, which is comfortable to use in the target country. Net website is now ready and we will now test it to make sure it works in the following two cases.

Loading the Default User Language from Browser. In order to test whether the Multilingual ASP. Net website detects and loads the default user language, you will need open Internet Options window from the Tools menu of the Internet Explorer browser and then click on Languages button and finally add and make French language as default.

Now run the website and it will display the contents in French Language and also the DropDownList will display the French Language as selected. Switching between the Languages using DropDownList. When a language is selected from the DropDownList, the content is displayed for the selected language. View Demo. Related Articles. Add Comments. Thank you for the feedback. The comment is now awaiting moderation. You will be notified via email when the author replies to your comment. Please select a comment to reply.

You can add your comment about this article using the form below. Make sure you provide a valid email address else you won't be notified when the author replies to your comment Please note that all comments are moderated and will be deleted if they are Not relavant to the article Spam Advertising campaigns or links to other sites Abusive content. Please do not post code, scripts or snippets. Required Invalid Email Address.

Security code:. Required Invalid security code. I declare, I accept the site's Privacy Policy. Add Comment. Disclaimer : The code samples and API available at www.

You are free to use it for commercial as well as non-commercial use at your own risk, but you cannot use it for posting on blogs or other tutorial websites similar to www. All the code samples and API provided by the authors are solely their creation and neither the author nor the site are responsible if it does not work as intended.

I agree to the above terms. Download Required. What our readers say. Error Details. This site makes use of Cookies. Please refer Privacy Policy for more details. Got it.



0コメント

  • 1000 / 1000