Patterns from "Find and Redact Text"

For translatio0rs, questions, tips and suggestions

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
User avatar
siSINka
User
Posts: 40
Joined: Sun Apr 07, 2019 11:55 am
Location: Czech Republic

Patterns from "Find and Redact Text"

Post by siSINka » Thu Nov 07, 2019 8:13 am

In 8.334 (PDF-XChange Editor Plus) is there a new function (Document - Redaction - Find and Redact). Redact patterns are stored in *json files here: c:\Program Files\Common Files\Tracker Software\Common\RedactPatterns\

I would create Czech pattern locale. English file I copied as cs_CZ.json and translated into Czech.
But… some formats (regional settings) in the Czech Republic are differnet (telephone numbers, ID, dates) and values in *json are inconceivable for me.

Example:
"((((((\\(\\d{2}\\)\\s?)|((\\b\\s?)\\d{2}\\s?(\\(0\\)\\s?)?)|(\\b\\s?))(0?\\d{2,5}(\\s|\\-)))|(\\(0?\\d{2,5}\\)\\s?)))?((\\d{5,8})|(\\d{3,4}\\s\\d{4})))(\\b)"

Is there any guide, how to code own format, how to understand those symbols? Thanks very much!

---------
I know this query doesn't match the section name, PDF-XChange Translators. If this is a problem, move it elsewhere, thanks.

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 2631
Joined: Wed Jan 03, 2018 6:52 pm

Re: Patterns from "Find and Redact Text"

Post by TrackerSupp-Daniel » Thu Nov 07, 2019 8:06 pm

Hello siSINka,

These options are highly complex as they contain a large number of possible variations, and most locales come natively suppoted, so there is no need to "translate" this file in particular. If you wish to translate the find and redact dialog itself, it is a part of the "sanitize" plugin, and can be modified in that module of the Translation tool.

Kind regards,
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply