Did you know? How to ignore strings in Transifex Live

Transifex Live makes it simple to manage translations on your website in real time. But did you know that you can ignore specific strings, pages, tags, or classes that don’t need translation? Whether you’re excluding blog pages, system messages, or developer tags, here’s how to fine-tune your translation scope for better control and efficiency.

:no_entry: Ignoring by URL Filter

One of the most efficient ways to ignore multiple strings is by using URL filters. These allow you to tell Transifex Live to ignore all strings coming from specific paths, perfect for pages that don’t need localization (e.g. legal disclaimers, blog posts, or developer-only content).

:white_check_mark: Example use cases:

  • Ignore all blog pages:

Match Method: starts with
Path: /blog/
Action: ignore

  • Combine user profile pages under a single group:

Match Method: starts with
Path: /profile/
Action: map to → /profile

Let’s look at two examples:

  • To ignore strings from your blog on www.example.com/blog/, choose: starts with/blog/, ignore.
  • To combine all user profile pages that live in a URL structure like /profile/ under a single URL, choose starts with/profile/, map to, /profile.

:wrench: How to set it up:

  1. Go to your Homepage widget in Transifex Live.
  2. Click the URL Filters tab.
  3. Select Add new filter.
  4. Choose the matching logic (contains, equals, starts with, etc.).
  5. Define the filter action: ignore or map.
  6. Save your filter!

:pushpin: Pro tip: Once an ignored page is restored, previously detected strings will become available again unless they were already approved elsewhere.

:artist_palette: Excluding HTML Tags and CSS Classes

Sometimes you may want to avoid translating content inside specific HTML elements or styled components.

:label: Exclude tag types:

  1. Open your site using Transifex Live Preview.
  2. Go to Live Settings.
  3. In the “Exclude tag types” field, add any HTML tag you want to ignore (e.g., <code>, <script>, <footer>).

:bullseye: Exclude CSS classes:

  1. Open your site using Transifex Live Preview.
  2. Go to Live Settings.
  3. Add unwanted class names to the “Exclude tag classes” field.

:label: Tagging Strings with notranslate

Need more control? Use manual tagging for precision.

If you want to exclude only specific strings (instead of entire pages or elements), apply the notranslate tag directly.

:hammer_and_wrench: How to apply tags:

  1. Go to the Editor.
  2. Filter and select the strings you want to exclude.
  3. In the Bulk actions sidebar, choose Add tag.
  4. Use notranslate. This will ensure the strings aren’t included in future translation orders.

Important:

When you ignore one instance of a string, that string will be removed from Transifex and your translations will also be removed everywhere it appears even if it was previously approved or translated on other pages.

**

:warning: Use this feature carefully to avoid losing needed translations in other parts of your site.

**

:speech_balloon: Still have questions?

Feel free to reach out to the community or check our Transifex Live documentation for more tips and tricks.

Happy translating! :globe_showing_europe_africa: