Base solution for your next web application
Open Closed

string names question #5802


User avatar
0
vladsd created

Is there a standard, the current xml file containts sentences for string names. Like this;

 <text name="User profile">User profile</text>
<text name="Your user profile information (first name, last name, etc.)">Your user profile information (first name, last name, etc.)</text>
<text name="Your email address">Your email address</text>
<text name="Your phone number">Your phone number</text>
<text name="Your postal address">Your postal address</text>
<text name="AllFunctionalityYouHaveInTheApplication">All functionality you have in the application</text>
<text name="Default (all) API">Default (all) API</text>
<text name="Offline Access">Offline Access</text>
<text name="Access to your applications and resources, even when you are offline">Access to your applications and resources, even when you are offline</text>

4 Answer(s)
  • User Avatar
    0
    vladsd created

    Another issue is using local file for date formats like this: '<text name="DateFormatShort">MM.dd.yyyy</text>'

    of ChartDateFormat which not used anywhere?

  • User Avatar
    0
    ryancyq created
    Support Team

    it is used in https://github.com/aspnetzero/aspnet-zero-core/blob/f72d4bf9ced778e06265f1c415a8553b10cbaf3d/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/MultiTenancy/HostDashboard/IncomeStatisticsReporter.cs#L76

  • User Avatar
    1
    vladsd created

    i saw that, to handle localized dates, one can just use toShortDateString() https://docs.microsoft.com/en-us/dotnet/api/system.datetime.toshortdatestring?view=netcore-2.1

  • User Avatar
    0
    alper created
    Support Team

    you can delete it in your instance. it must be backward compatible for the people who wants to update to the latest version.