打开 关闭

[HOWTO] Override abp's localization resource #1514


User avatar
0
yilmaz.atalar 创建

Hi,

I want to override abp's messages like "EntityNotFoundErrorMessage". I've tried inheriting resources but it didn't work.

Any ideas will be appreciated.

Thanks.


4 答案
  • User Avatar
    0
    alper 创建
    支持团队 Director

    do you want to change this translation? https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/tr.json#L15

  • User Avatar
    0
    yilmaz.atalar 创建

    do you want to change this translation?
    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/tr.json#L15

    Yes I do.

  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    hi

    Please check this demo https://github.com/abpframework/abp-samples/tree/master/DocumentationSamples/ExtendLocalizationResource

  • User Avatar
    0
    yilmaz.atalar 创建

    Hi @maliming,

    Thanks for your assitance. It worked.

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11