Regex to work with Memsource mxliff
스레드 게시자: mikhailo
mikhailo
mikhailo
Local time: 11:31
영어에서 러시아어
+ ...
Nov 11, 2020

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


 
Matthias Brombach
Matthias Brombach  Identity Verified
독일
Local time: 09:31
회원(2007)
네덜란드어에서 독일어
+ ...
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?


 
Samuel Murray
Samuel Murray  Identity Verified
네델란드
Local time: 09:31
회원(2006)
영어에서 아프리칸스어
+ ...
Perhaps... Nov 12, 2020

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?

dvxregex

Does DVX truly escape curly brackets using doubled back-slashes?


 
Matthias Brombach
Matthias Brombach  Identity Verified
독일
Local time: 09:31
회원(2007)
네덜란드어에서 독일어
+ ...
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
mikhailo
Local time: 11:31
영어에서 러시아어
+ ...
주제 스타터
re Nov 12, 2020

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]


Matthias Brombach
 
Matthias Brombach
Matthias Brombach  Identity Verified
독일
Local time: 09:31
회원(2007)
네덜란드어에서 독일어
+ ...
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.

 
Matthias Brombach
Matthias Brombach  Identity Verified
독일
Local time: 09:31
회원(2007)
네덜란드어에서 독일어
+ ...
Solved! Nov 12, 2020

I added |\{.*?\} to your string, it works so far and I hope, it won´t have an adverse effect on other positions.

 
Mario Cerutti
Mario Cerutti  Identity Verified
일본
Local time: 17:31
이탈리아어에서 일본어
+ ...
Deleted Apr 17, 2021



[Edited at 2021-04-17 07:53 GMT]


 
Mario Cerutti
Mario Cerutti  Identity Verified
일본
Local time: 17:31
이탈리아어에서 일본어
+ ...
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})>)|(


 
Mario Cerutti
Mario Cerutti  Identity Verified
일본
Local time: 17:31
이탈리아어에서 일본어
+ ...
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!


 
Mario Cerutti
Mario Cerutti  Identity Verified
일본
Local time: 17:31
이탈리아어에서 일본어
+ ...
Apr 18, 2021



[Edited at 2021-04-18 08:12 GMT]


 
mikhailo
mikhailo
Local time: 11:31
영어에서 러시아어
+ ...
주제 스타터
re Apr 18, 2021

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]


 
Giovanni Guarnieri MITI, MIL
Giovanni Guarnieri MITI, MIL  Identity Verified
영국
Local time: 08:31
영어에서 이탈리아어
save it... Apr 18, 2021

as an image and then upload it here...

Matthias Brombach
 
mikhailo
mikhailo
Local time: 11:31
영어에서 러시아어
+ ...
주제 스타터
info update Aug 29, 2021

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
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


 


To report site rules violations or get help, contact a site moderator:

이 포럼의 관리자
Pavel Tsvetkov[Call to this topic]

You can also contact site staff by submitting a support request »

Regex to work with Memsource mxliff






TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Trados Business Manager Lite
Create customer quotes and invoices from within Trados Studio

Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.

More info »