Regex to work with Memsource mxliff
Thread poster: mikhailo
mikhailo
mikhailo
Local time: 22:58
English to Russian
+ ...
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
Germany
Local time: 20:58
Member (2007)
Dutch to German
+ ...
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
Netherlands
Local time: 20:58
Member (2006)
English to Afrikaans
+ ...
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
Germany
Local time: 20:58
Member (2007)
Dutch to German
+ ...
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: 22:58
English to Russian
+ ...
TOPIC STARTER
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
Germany
Local time: 20:58
Member (2007)
Dutch to German
+ ...
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
Germany
Local time: 20:58
Member (2007)
Dutch to German
+ ...
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
Japan
Local time: 04:58
Italian to Japanese
+ ...
Deleted Apr 17, 2021



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


 
Mario Cerutti
Mario Cerutti  Identity Verified
Japan
Local time: 04:58
Italian to Japanese
+ ...
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
Japan
Local time: 04:58
Italian to Japanese
+ ...
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
Japan
Local time: 04:58
Italian to Japanese
+ ...
Apr 18, 2021



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


 
mikhailo
mikhailo
Local time: 22:58
English to Russian
+ ...
TOPIC STARTER
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
United Kingdom
Local time: 19:58
Member (2004)
English to Italian
save it... Apr 18, 2021

as an image and then upload it here...

Matthias Brombach
 
mikhailo
mikhailo
Local time: 22:58
English to Russian
+ ...
TOPIC STARTER
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: 22:58
English to Russian
+ ...
TOPIC STARTER
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:

Moderator(s) of this forum
Pavel Tsvetkov[Call to this topic]

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

Regex to work with Memsource mxliff






CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »
Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »