How to hide first X characters from every line
Autor de la hebra: Blogotronic
Blogotronic
Blogotronic
Polonia
Mar 27, 2019

Hi,
I have encountered a problem that I can't handle on my own.
I have some big txt file to translate in which every line was created in this style, example:

8850f0a3141d8f94f8292b4e8c014a84;e3e8d91e-7956-4ce9-87b3-c77aa3870759;I was there, but didn't found anything interesting.

Using rules or other tools, it is possible to hide first 70 characters (everything up to ";")? I tried searching in user Guide, but some parts like Regular expressions are a b
... See more
Hi,
I have encountered a problem that I can't handle on my own.
I have some big txt file to translate in which every line was created in this style, example:

8850f0a3141d8f94f8292b4e8c014a84;e3e8d91e-7956-4ce9-87b3-c77aa3870759;I was there, but didn't found anything interesting.

Using rules or other tools, it is possible to hide first 70 characters (everything up to ";")? I tried searching in user Guide, but some parts like Regular expressions are a black magic for me.

Sorry for asking, but can I ask for your help?


[Edited at 2019-03-27 13:11 GMT]

[Edited at 2019-03-27 13:12 GMT]
Collapse


 
Susan Welsh
Susan Welsh  Identity Verified
Estados Unidos
Local time: 18:21
ruso al inglés
+ ...
Ask on the Yahoo list Mar 28, 2019

I don't know, but if nobody replies here, please ask on the Yahoo list, where most of the developers are to be found: https://groups.yahoo.com/neo/groups/OmegaT/conversations/messages

No need to apologize for asking a question!


[Edited at 2019-03-28 09:55 GMT]


 
Samuel Murray
Samuel Murray  Identity Verified
Países Bajos
Local time: 00:21
Miembro 2006
inglés al afrikaans
+ ...
I'm no wizard either Mar 28, 2019

Blogotronic wrote:
Using rules or other tools, it is possible to hide first 70 characters (everything up to ";")?


Regex is also wizardry to me, but I think this is the one you're looking for:
[ 0 - 9 a - f - ; ] { 7 0 } (spaces added to prevent emoticons)

70 chars omegat

If you add it as a segmentation rule, it'll put those characters in separate segments, but you'll still be able to touch them. I also experimented with using the regex string in the "Tag Processing" settings dialog, and I was able to get OmegaT to regard those 70 characters as a custom tag, which means that if you do tag checking afterwards, and you accidentally broke one, it'll show up as an error. There is an option to hide text from the translation using regex, but I don't know how it works.


 
Blogotronic
Blogotronic
Polonia
PERSONA QUE INICIÓ LA HEBRA
Thanks Mar 29, 2019

Thanks a lot,
I will try that


 


Este foro no tiene moderador específicamente asignado.
Para denunciar violaciones a las reglas del sitio u obtener ayuda, póngase en contacto con el personal del sitio »


How to hide first X characters from every line






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