Custom XML filter for WPML XLIFF - how to make sure not to show for translation some HTML values

Hi!

I have a custom XML filter for WPML XLIFF files I am happy to share:

wordpress-xliff-1.2-Trados22.sdlftsettings.zip

Example files:

ru.zip

The issue is that the website is created with the Kallyas pagebuilder and there is a lot of settings that should not be translated.

Screenshot of a translation software interface showing a list of XML tags with some marked for translation and others not, with a focus on custom subheader layout tags.

Manually locking these segments is time consuming. I am looking for a shotcut solution.

I have created a DNT list:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
#contact-form
#fffffff
_blank
_self
+359 700 11 502
10xp
1px 1px 0 rgba(255,255,255,.5)
1px 1px 50px rgba(0,0,0,.4)
advantages-section
after-title
AIzaSyD9TqTOMRLgyslCtiheog1Dy-Rx2-0iLzI
all
arial
auto
before
bg
border
border2
bottom-left
bottom-right
BOUNCE
btn-fullcolor
btn-fullcolor btn-custom-color
btn-halfwidth
btn-lined
btn-lined btn-custom-color
btn-lined lined-full-light
btn-md
btn-primary
btn--rounded
btn-third
center
col-lg-4
col-lg-offset-0
col-lg-offset-3
col-md-10
col-md-12
col-md-2
col-md-4
col-md-6
col-md-8
col-sm-12
container
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Usually I would go with placeholders, but I did not see such option in the custom XML filter.

Any ideas are welcome.



Generated Image Alt-Text
[edited by: RWS Community AI at 11:02 AM (GMT 0) on 13 Nov 2024]
emoji