Regex to work with Memsource mxliff 스레드 게시자: mikhailo
|
mikhailo Local time: 11:31 영어에서 러시아어 + ...
To import Memsource mxliff to DVX3 & convert Memsource tags to DVX3 tags
From project explorer choose «Add file»
Choose «all files» (otherwise DV doesn't show mxliff) and choose mxliff file.
Choose Xliff filter and IMPORTANT!!!!! add folllowing string to «IGNORE REGEX MATCHES»
(\{([ibu0-9]{1,3})>)|(<([ibu0-9]{1,3})\})
Most of Mxliff tags (like {b><b};{u><u};{i><i}{1>>1};{2><2} etc is... See more To import Memsource mxliff to DVX3 & convert Memsource tags to DVX3 tags
From project explorer choose «Add file»
Choose «all files» (otherwise DV doesn't show mxliff) and choose mxliff file.
Choose Xliff filter and IMPORTANT!!!!! add folllowing string to «IGNORE REGEX MATCHES»
(\{([ibu0-9]{1,3})>)|(<([ibu0-9]{1,3})\})
Most of Mxliff tags (like {b><b};{u><u};{i><i}{1>>1};{2><2} etc is converted to standard DVX3 tags.
HOPE THIS HELPS TO SOMEBODY
ANY NEWS FROM ATRIL? IS IT LIVE or DEAD?
[Редактировалось 2020-11-12 11:06 GMT]
[Редактировалось 2020-11-12 11:12 GMT]
[Редактировалось 2020-11-12 11:13 GMT] ▲ Collapse | | |
It doesn´t work .... | Nov 12, 2020 |
Hi Mikhailo,
Thank you for sharing your idea! Since I always struggle a bit with memsource files in DV X3, your approach would have been a pretty good idea, but when it comes to import a memsource file with your regex string, DV always crashes. At least I didn´t know that I can import mxliff without changing the file extension from mxliff to xliff. Perhaps something got lost in your regex string you provided? | | |
I don't use DVX or MXLIFF, but based on problems with ProZ.com's forum software, could it be that the regex should actually be this?
Does DVX truly escape curly brackets using doubled back-slashes? | | |
I´m sorry ... | Nov 12, 2020 |
... but it didn´t the trick either, even when I switched off carlinga.exe running in the background, which always changed ">" into ">" again. Thank you anyway, Samuel.
[Bearbeitet am 2020-11-12 09:16 GMT] | |
|
|
mikhailo Local time: 11:31 영어에서 러시아어 + ... 주제 스타터
Hope this way is better, cause it's not necessary to struggle with html codes/entities in a text of message
[Редактировалось 2020-11-12 11:14 GMT] | | |
Much better! | Nov 12, 2020 |
Thanks a lot, Mikhailo, that works much better, except with tags for footnotes in the MS Word file I used to check your approach. Perhaps you will find a solution for this issue too? But my hope would be that Atril (or what is left from them) could arrange this for all of us, because DV still is a CAT which does not need to hide behind the major tankers with their bigger marketing support. | | |
I added |\{.*?\} to your string, it works so far and I hope, it won´t have an adverse effect on other positions. | | |
[Edited at 2021-04-17 07:53 GMT] | |
|
|
Memsource in DVX3 | Apr 17, 2021 |
Matthias Brombach wrote:
I added |\{.*?\} to your string, it works so far and I hope, it won´t have an adverse effect on other positions.
Hello Matthias,
Are you still having success with Mikhailo's regex plus your integration? I know nothing about regular expressions and don't know if this is the correct one:
(\{([ibu0-9]{1,3})>)|( | | |
Impossible to copy the whole regular expression | Apr 17, 2021 |
Sorry, but Proz doesn't let me post the whole regular expression, and I don't know any workaround the make the string appear correctly.
If you know how to do it, would you please post here the correct regular expression that you seem to be using successfully in DVX3?
Many thanks for your help! | | |
[Edited at 2021-04-18 08:12 GMT] | | |
mikhailo Local time: 11:31 영어에서 러시아어 + ... 주제 스타터
Mario Cerutti wrote:
Sorry, but Proz doesn't let me post the whole regular expression, and I don't know any workaround the make the string appear correctly.
If you know how to do it, would you please post here the correct regular expression that you seem to be using successfully in DVX3?
Many thanks for your help!
Simply copy exactly regex from image and add to the end of regex (instead of paragraph mark) |\{.*?\}
[Редактировалось 2021-04-18 16:31 GMT] | |
|
|
as an image and then upload it here... | | |
mikhailo Local time: 11:31 영어에서 러시아어 + ... 주제 스타터
to confirm segments in mxliff after DVX export
in any Unicode and Batch Replacement tool replace in mxliff
m:confirmed="0"
to
m:confirmed="1" | | |
mikhailo Local time: 11:31 영어에서 러시아어 + ... 주제 스타터 need ideas to convert mxliff segs attributes to DVX segs attributes | Sep 3, 2021 |
I need ideas to convert mxliff segs attributes to DVX segs attributes
I've tried to make a filter for MXLIFF, and could extract atributes as simple segments, but need to extract them as DVX attributes - confirmed, locked, Match percentage....
Have anybody any idea?
May be anybody knows, where (in which file) DVX store xliff filter to reverse it?
Another idea - converter for MXLIFF to sdlxliff (and back after translation) similar file, which attribute... See more I need ideas to convert mxliff segs attributes to DVX segs attributes
I've tried to make a filter for MXLIFF, and could extract atributes as simple segments, but need to extract them as DVX attributes - confirmed, locked, Match percentage....
Have anybody any idea?
May be anybody knows, where (in which file) DVX store xliff filter to reverse it?
Another idea - converter for MXLIFF to sdlxliff (and back after translation) similar file, which attributes DVX can import.
But the most ridiculous — DVX doesn't support any attributes (CFM, LKD, %MATCH) in own xliff. ▲ Collapse | | |