Exception messagge localized

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi,

It could be better if messagge for exception be localized:

throw new Exception("Your cart is empty");
in
throw new Exception(_localizationService.GetResource("shoppingcart.cartisempty"));


thanks
4 years ago
kava wrote:
Hi,

It could be better if messagge for exception be localized:

throw new Exception("Your cart is empty");
in
throw new Exception(_localizationService.GetResource("shoppingcart.cartisempty"));


thanks



that's right so it also be localize.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.