diff --git a/docs/en/UI/AspNetCore/JavaScript-API/Message.md b/docs/en/UI/AspNetCore/JavaScript-API/Message.md index 8e7968b08f..68c74914c6 100644 --- a/docs/en/UI/AspNetCore/JavaScript-API/Message.md +++ b/docs/en/UI/AspNetCore/JavaScript-API/Message.md @@ -59,7 +59,7 @@ The resulting UI will be like shown below: If user has clicked the `Yes` button, the `confirmed` argument in the `then` callback function will be `true`. -> "*Are you sure?*" is the default title and you can override it. +> "*Are you sure?*" is the default title (localized based on the current language) and you can override it. ### The Return Value @@ -116,6 +116,8 @@ The Message API is implemented using the [SweetAlert2](https://sweetalert2.githu } ```` +> "Are you sure?", "Cancel" and "Yes" texts are automatically localized based on the current language. + So, if you want to set the `warn` icon, you can set it like: ````js