[Asp.net 5] Localization-easy-to-use Localization,

Source: Internet
Author: User

[Asp.net 5] Localization-easy-to-use Localization,

Localization is also called internationalization. When multiple language programs are used, the current language can be switched to another language with one click. It is especially important for multinational corporations or companies that have business dealings with foreign countries. Even if the portal of an ordinary company supports Chinese, English, and traditional Chinese, it will make people feel taller. Yes, no! However, Microsoft has always supported internationalization/localization, and now the localization code is open-source, which is quite nice. This article introduces the "Localization-dev" solution of Microsoft asp. net5. You can download it from the asp. net5 website on github:

Https://github.com/aspnet/Localization

Follow the Convention to first go to the "Localization-dev" solution:

The role of the five projects of the entire solution:

  • Microsoft. Framework. Localization. Abstractions is undoubtedly an abstract project. It is an interface and abstract class exposed to the outside.
  • Microsoft. Framework. Localization is the implementation of the abstract interface above.
  • Microsoft. AspNet. Localization this is the first abstract interface implementation for asp.net
  • Some Cache Information of Microsoft. Framework. Globalization. CultureInfoCache Globalization information.
  • The cache on the CultureInfoGenerator may be different for different machines. It is used to generate the code file of the above project.

Therefore, the whole globalization will be divided into three parts:

  • [Asp.net 5] Localization-easy-to-use Localization-Global Information
  • [Asp.net 5] Localization-resx resource file management
  • [Asp.net 5] multi-language Localization-Asp.net Runtime

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.