How to make Okapi XML Stream Filter show string ID
论题张贴者: BillyTransMeme
BillyTransMeme
BillyTransMeme
德国
Local time: 22:12
English英语译成Lithuanian立陶宛语
+ ...
Aug 17, 2021

Hi

So I've been trying to get OmegaT running with a bunch of XML files that I have. I've read through some articles on the Okapi Framework wiki and I have tried to adapt the examples of the filters to suit my own needs, but I have not been successful. But the XML Stream Filter works fine while extracting the text. However, in addition to that, I need to also have the string ID, because it's very important in knowing what the text is about. This is the part that I can't get to work.
... See more
Hi

So I've been trying to get OmegaT running with a bunch of XML files that I have. I've read through some articles on the Okapi Framework wiki and I have tried to adapt the examples of the filters to suit my own needs, but I have not been successful. But the XML Stream Filter works fine while extracting the text. However, in addition to that, I need to also have the string ID, because it's very important in knowing what the text is about. This is the part that I can't get to work. I haven't found any materials online which explain how to make the filter extract the string ID together with the text.

This is vitally important for translation, because the text gets split up into bite-sized segments. On one hand, this is good, because entire walls of text don't have to be translated in one go. But since the XML files contain strings with completely different information, it becomes very easy to get lost when the segments lack any kind of identifying information.

If there is no way of showing string IDs together with segments, is it at least possible to have the file segmented into strings instead of sentences?

Thanks for any help

P.S. the HTML tags keep breaking examples of the strings, so sorry for not being able to show the exact structure. But it basically just has the text between tags and the string ID is simply

[Edited at 2021-08-17 11:06 GMT]
Collapse


 


本论坛没有专门指派版主。
如需报告网站违规或寻求帮助,请联系网站工作人员 »


How to make Okapi XML Stream Filter show string ID






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