--- title: Test Exclusion Rule description: Test Exclusion Rule in Dynamic Translation enables you to test your exclusion pattern manually. You can check whether the pattern accurately excludes a text string from translation. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-administration/dynamic-translation/dyn-translation-test-exclusion-rule.html release: australia product: Dynamic Translation classification: dynamic-translation topic_type: task last_updated: "2026-03-12" reading_time_minutes: 3 breadcrumb: [Exclusion Framework in Dynamic Translation, Configuring Dynamic Translation, Dynamic Translation, Translation and localization, Configure core features, Administer the ServiceNow AI Platform] --- # Test Exclusion Rule Test Exclusion Rule in Dynamic Translation enables you to test your exclusion pattern manually. You can check whether the pattern accurately excludes a text string from translation. ## Before you begin At least one additional language must be available on your instance. For more information about installing languages, see [Activate a language](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/system-localization/t_ActivateALanguage.md). Role required: admin ## About this task Test Exclusion Rule opens a record producer where your exclusion pattern can be tested manually on a text string that you enter. Several of the fields on the record producer change depending on the following choices. - You can test an exclusion pattern before or after you create an exclusion rule \(New or Existing rule\). - You can test either type \(Exact match or Pattern match\). If you choose New exclusion rule, you can opt to create a new rule based on your test pattern. You can select a target language from among the languages enabled on the instance. The target language is the language you want to translate into. The output shows the translation with the matching sequence displayed in bold font. You can test iteratively to refine your exclusion pattern. \[Omitted image "dyn-translation-test-exclusion-rule1Z.png"\] Alt text: Test Exclusion Rule is highlighted in the navigation. ## Procedure 1. Navigate to **All** > **Dynamic Translation** > **Test Exclusion Rule**. A record producer opens. 2. Select the appropriate option for the first question, **Do you want to test an existing or new exclusion rule?**
| Option | Description |
|---|---|
| **Existing exclusion rule** | If you choose this option, the next field opens: **Which exclusion pattern would you like to test?** Select your pattern from the list, or use the field's search function.The information icon \(\[Omitted image "information-icon.png"\] Alt text: Information icon.\) offers a read-only summary of the selected rule. |
| **New exclusion rule** | If you choose this option, two fields and a button appear on the form. 1. **Rule type**: Choose from - **Exact match** - **Pattern match** \(regex\) 2. **Exclusion term** \(for Exact match\): enter a text string. **Exclusion pattern** \(for Pattern match\): enter a regular expression \(regex\) pattern. 3. **Create Rule**: You can optionally use this button to open a form for a new exclusion rule. The most recent exclusion pattern that you tested is imported into this form. |