Regex to work with Memsource mxliff Thread poster: mikhailo
| mikhailo Local time: 22:59 English to Russian + ...
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? | | | Samuel Murray Netherlands Local time: 20:59 Member (2006) English to Afrikaans + ...
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: 22:59 English to Russian + ... TOPIC STARTER
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: 22:59 English to Russian + ... TOPIC STARTER
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: 22:59 English to Russian + ... TOPIC STARTER
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: 22:59 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: You can also contact site staff by submitting a support request » Regex to work with Memsource mxliff Pastey | Your smart companion app
Pastey is an innovative desktop application that bridges the gap between human expertise and artificial intelligence. With intuitive keyboard shortcuts, Pastey transforms your source text into AI-powered draft translations.
Find out more » |
| Protemos translation business management system | Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!
The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |