Exclude Phrases

Stop specific content from being found by Localize.

(not applicable in Mobile App projects)

Exclude Phrases by CSS Classes & IDs

You can block specific content from being brought into your Localize dashboard by adding the appropriate CSS selectors to this list in your Project's Library Settings: Exclude Phrases page. You can block both CSS classes and CSS IDs.

Watch this short video to learn how to use this feature.

  • Simply add each CSS class or ID to the list by clicking Add Selector.
  • After entering a CSS selector, you can Edit the selector or Delete it.

After clicking Add Selector, enter the selector then click Save.
You can add as many as required.


Simple Selectors

Only simple CSS selectors are supported at this time, like .my-class-name or #my-id. This means that you can't use compound selectors like div .my-class-name or span #my-id.

Block New Phrases by Pattern

You can block specific words or phrases in your website from being brought into the Localize dashboard by adding regular expressions in your library settings.

  • Simply add each word or phrase by clicking Add Phrase.
  • Regular expressions are supported. You can select from:
    • Exact Match - enter the exact page or subdirectory name to exclude
    • Starts With - the page or subdirectory name starts with these characters
    • Ends With - the page or subdirectory name ends with these characters
    • Contains - the page or subdirectory name contains these characters
    • Regular Expression - for any other custom regex not supported above

Click Add Phrase to add a new phrase/pattern.
After entering a phrase to disable, you can Edit the phrase or Delete it.

To add a new phrase/regex, click the Add Phrase button.

  • Select a regex type from the list.
  • Enter the relevant characters in the input field
  • Click Save


Special Characters in Regular Expressions

See the docs on special characters for things to look out for when adding phrases to ignore.


Existing Phrases

This feature will only block new phrases from coming into the Localize dashboard.

If phrases already exist in the dashboard, they won't be blocked after adding a word/phrase to the ignore list. They will have to be manually deprecated or trashed.

Some examples of where this might be useful include:


Regular Expression


Date With Slashes


1/2/2020, 12/15/1963

Countdown Timer (HH:MM:SS)


12:42:22, 01:18:33

Brand name


Any phrase whose content contains "Localize" anywhere in it

Specific ID #s
(e.g. US social security #)



Specific word: dog


Any phrase whose content is exactly "dog"

Specific word: cat


Any phrase whose context contains "cat" anywhere in it

Special Characters in Regular Expressions

Special Characters

Regular expressions use special characters (metacharacters) to denote which characters to match in the source content. You must be careful when adding words/phrases to this list so that they aren't interpreted differently than you expect them to be.

The special characters are:

  • backslash \
  • caret ^
  • dollar sign $
  • period or dot .
  • vertical bar or pipe symbol |
  • question mark ?
  • asterisk or star *
  • plus sign +
  • opening parenthesis (
  • closing parenthesis )
  • opening square bracket [
  • opening curly brace {


Any special characters that can be used in regular expressions will need to be "escaped" if you want to match the literal character.

For example: If you want to exclude anything with .tif in the phrase, you would enter: \.tif

  • The backslash tells the parser to consider the "." as a literal character.
  • Without the backslash, the .tif would include any phrase that has at least one character before tif, e.g. any phrase with the word "identify", etc.

Updated about a month ago

Exclude Phrases

Stop specific content from being found by Localize.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.