Closed georgringer closed 5 years ago
search: (?<!resname=.*)(?!.*resname=)id="([^"]+)"
replace: id="$1" resname="$1"
in all XLF files
@liayn have found a flaw in your regex, IMO must be (?<!resname=.*)(?!.*resname=) id="([^"]+)"
(mind the space) as there is also something like <file t3:id
good point. wasn't aware of this. Thanks.
Solves
Given
Crowdin doesn't show the information stored in the attribute "id". If we want to have that visible, the attribute must be duplicated using "resname". So it should like that