Starts in:
1 DAY
7 HRS
34 MIN
57 SEC
Starts in:
1 D
7 H
34 M
57 S
Open Closed

How to change display name of abp-modal-footer buttons? #1558


User avatar
0
ElifKaya created

ABP Framework version: v4.3.0 UI type: Razor (MVC) DB provider: EF Core Tiered (MVC)

Hello,

Is there any way I can change Save and Cancel button display name in the following usage?

Thanks,


4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can try to change the localization translation of the buttons.

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/AbpUiResource.cs#L6 https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json#L6-L12

  • User Avatar
    0
    ElifKaya created

    hi

    You can try to change the localization translation of the buttons.

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/AbpUiResource.cs#L6 https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json#L6-L12

    Actually this solution wont be useful for us. Because I don't want to use localization. I want that AbpModalButtons.Save button name to appear as "Export" in modal, "Import" in another modal, "Save" in another modal or "Associate" in the another modal in the same language. I stopped using abp-modal-footer buttons now. If is not possible changes display name of AbpModalButtons.Save, I can contionue using abp-button like this.

    Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I can contionue using abp-button like this.

    It seems this is the right way.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06