[ASP. 5] localization-simple and easy to use localization

Source: Internet
Author: User

Localization is also called internationalization, is a multi-language program, you can switch the current language to another language in one click. It is particularly important for multinational companies or companies that have business dealings with foreign countries; even if the portal of a common company supports Chinese, English and traditional, it will make people feel tall. There is no Ah, there is no! But Microsoft's support for internationalization/localization has been good, and now the localization code is open source, which is pretty nice. This is a minor introduction to Microsoft Asp.net5 's "Localization-dev" solution that can be downloaded to GitHub on the ASP.NET5 website:


Follow the usual "Localization-dev" solution:

The five works of the entire solution are of a role:

  • Microsoft.Framework.Localization.Abstractions no doubt, this is an abstract project, the interface and abstract class of external leaks
  • Microsoft.Framework.Localization This is the implementation of the above abstract interface.
  • Microsoft.AspNet.Localization This is the first abstract interface for the implementation of ASP.
  • Microsoft.Framework.Globalization.CultureInfoCache Some caching information for globalization information.
  • Cultureinfogenerator above the cache for different machines may be different, is to generate the code files of the above project

So the whole globalization, will be divided into three parts introduced:

  • [ASP. 5] localization-easy-to-use localization-globalization information
  • [ASP. 5] Localization-resx Management of resource files
  • [ASP. 5] Localization-asp.net Run-time multi-language

[ASP. 5] localization-simple and easy to use localization

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.