ASP.NET MVC コントロールヘルプ
Globalization

Globalization is the process of designing and developing applications that function for multiple cultures. Localization is the process of customizing your application for a specific culture and locale.

By default, ComponentOne MVC controls format and parse the data using American English culture. The decimal symbol is a period, the thousand separator is a comma, and the days of the week are "Sunday" through "Saturday". However, these symbols or separator are different for other cultures. In case the application targets any other culture, register the appropriate culture using MVC scripts in your HTML pages.

For example, to localize an application for the Japanese culture, register the "ja" culture in _Layout.cshtml file.

_Layout.cshtml
コードのコピー
@Html.C1().Scripts().Basic().Culture("ja")