mirror of https://github.com/abpframework/abp.git
Browse Source
Now you can access user's culture from client-side via "abp.localization.currentCulture"pull/1930/head
4 changed files with 76 additions and 4 deletions
@ -0,0 +1,23 @@ |
|||
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations |
|||
{ |
|||
public class CurrentCultureDto |
|||
{ |
|||
public string DisplayName { get; set; } |
|||
|
|||
public string EnglishName { get; set; } |
|||
|
|||
public string ThreeLetterIsoLanguageName { get; set; } |
|||
|
|||
public string TwoLetterIsoLanguageName { get; set; } |
|||
|
|||
public bool IsRightToLeft { get; set; } |
|||
|
|||
public string CultureName { get; set; } |
|||
|
|||
public string Name { get; set; } |
|||
|
|||
public string NativeName { get; set; } |
|||
|
|||
public DateTimeFormatDto DateTimeFormat { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,19 @@ |
|||
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations |
|||
{ |
|||
public class DateTimeFormatDto |
|||
{ |
|||
public string CalendarAlgorithmType { get; set; } |
|||
|
|||
public string DateTimeFormatLong { get; set; } |
|||
|
|||
public string ShortDatePattern { get; set; } |
|||
|
|||
public string FullDateTimePattern { get; set; } |
|||
|
|||
public string DateSeparator { get; set; } |
|||
|
|||
public string ShortTimePattern { get; set; } |
|||
|
|||
public string LongTimePattern { get; set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue