Skip to content

Commit

Permalink
Merge pull request #1 from himeshsiriwardana/pr-4959
Browse files Browse the repository at this point in the history
minor changes to text and corrected a broken link
  • Loading branch information
Avarjana authored Jan 16, 2025
2 parents 1ebad54 + 8db24d5 commit 5b04aa1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set product_name = "WSO2 Identity Server" %}

{% set notificaiton_templates_api_path = "notification-template" %}
{% set notification_templates_api_path = "notification-templates-rest-api" %}

{% set localization_doc_path = "localization" %}

Expand Down
8 changes: 4 additions & 4 deletions en/includes/guides/branding/customize-email-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ You can tailor the **subject**, **body**, and **footer** of email notifications
!!! warning "Apply changes to user profiles"
To apply these changes to each user's profile in your organization:

1. Display the `local` attribute on the user's profile. Learn more on [updating user attributes]({{base_path}}/guides/users/attributes/manage-attributes/#update-attributes).
1. Display the `local` attribute on the user's profile. Learn how to do so in [updating user attributes]({{base_path}}/guides/users/attributes/manage-attributes/#update-attributes).

2. Update the `local` attribute value with the [required locale code]({{base_path}}/guides/branding/{{ localization_doc_path }}/#supported-languages).
2. Update the `local` attribute value with the [required locale code]({{base_path}}/guides/branding/{{ localization_doc_path }}/#supported-languages). The value should be updated by,

- If the admin onboards the user to the organization, the admin is responsible for updating the locale code.
- the admin, if the admin onboards the user to the organization.

- If the user self-registers, they should update the locale code by themselves at the time of registration.
- the user, if the user self-registers to the organization.

Alternatively, you can customize the content of email templates using the [Email Templates API]({{base_path}}/apis/{{ email_templates_api_path }}/) provided by {{ product_name }}.

Expand Down
8 changes: 4 additions & 4 deletions en/includes/guides/branding/customize-sms-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ You can tailor the **body** of SMS notifications to your preferences by followin
!!! warning "Apply changes to user profiles"
To apply these changes to each user's profile in your organization:

1. Display the `local` attribute on the user's profile. Learn more on [updating user attributes]({{base_path}}/guides/users/attributes/manage-attributes/#update-attributes).
1. Display the `local` attribute on the user's profile. Learn how to do so in [updating user attributes]({{base_path}}/guides/users/attributes/manage-attributes/#update-attributes).

2. Update the `local` attribute value with the [required locale code]({{base_path}}/guides/branding/{{ localization_doc_path }}/#supported-languages).
2. Update the `local` attribute value with the [required locale code]({{base_path}}/guides/branding/{{ localization_doc_path }}/#supported-languages). The value should be updated by,

- If the admin onboards the user to the organization, the admin is responsible for updating the locale code.
- the admin, if the admin onboards the user to the organization.

- If the user self-registers, they should update the locale code by themselves at the time of registration.
- the user, if the user self-registers to the organization.

Alternatively, you can customize the content of SMS templates using the [Notification Templates API]({{base_path}}/apis/{{ notification_templates_api_path }}/) provided by {{ product_name }}.

0 comments on commit 5b04aa1

Please sign in to comment.