abp icon indicating copy to clipboard operation
abp copied to clipboard

BusinessException on Angular UI has non-localized toaster TITLE using Toaster Service.

Open buaziz opened this issue 6 years ago • 3 comments

  • ABP Framework version : v3.0.5
  • type Angular
  • Steps needed to reproduce the problem.

BusinessException has non-localized toaster TITLE on Angular UI using Toaster Service.

referencing original issue :https://github.com/abpframework/abp/issues/3503

and my comment : https://github.com/abpframework/abp/issues/3503#issuecomment-670065666

buaziz avatar Aug 07 '20 07:08 buaziz

hi @buaziz Can you share the http response?

image

maliming avatar Sep 09 '20 01:09 maliming

@maliming I am referring to the text "An error has occurred!"

how do I localize this text ?

buaziz avatar Sep 09 '20 06:09 buaziz

hi

It belongs to AbpUiResource,

image

https://github.com/abpframework/abp/blob/90d779453eab27f35bcfa7308f1a308aa5dee40e/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json#L7

https://docs.abp.io/en/abp/latest/Localization#extending-existing-resource

maliming avatar Sep 09 '20 06:09 maliming