Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Reading Localization Values #7567


User avatar
0
dev_frontrush created

I have a custom exception class that uses UserFriendlyException as a base class; how can I read from the localized files?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Please share some of your code.

  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, @dev_frontrush you can consider using LocalizationHelper.

    https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp/Localization/LocalizationHelper.cs