0

Hide numbers or numbers with signs of currency or some other symbols.

Problem:

how to hide this type of content during translation:

€1,344,433.24
$7342,93.256

(56 789)
(56.789)
(56,789)
-56.789
-56,789
56789
+76,688
+76 688
+76.688
+€76,688
+€76 688
+76.688

94%
94,5%
94.5%
94 %

94,5 %

so that:

- they are not wordcounted 
- they do not appear as separate segments to be translated.

Solution:

introducing regex

^[\(\)+\-$ €%0-9 ,.]+$

like shown on a screenshot below does the trick


0 comments

Please sign in to leave a comment.