Tagging of standard TXT files
Thread poster: rogerB

rogerB  Identity Verified
Norway
Local time: 15:13
Member (2003)
English to Norwegian
+ ...
Apr 2, 2014

Have received a humongus bunch of text files (not ,txt) from a client they want a quote on, and see that there are a lot of tags in the files that needs to be preserved.

How du I:
1. copy the file type definition Text to another file type definition that I can edit without messing up the original
2. Set up the tags so that the tags in the document apears as inline tags in the text when we translate it. Think this isn done in the sub group "Inline tags", but when I try to do that I get tag errors when i try to create the project!

Hope anybody can help!


 

SDL Community  Identity Verified
United Kingdom
Local time: 15:13
English
Create a new filetype Apr 2, 2014

Hi,

When you create a new filetype you are given a few options. One of them is a "Regular Expression Delimited text". Choose that and you will have a new one that is unique and will not cause you to overwrite the settings on the default.

On the inline tags... you are in the right place. But you have to specify your rules carefully. Regex is quite powerful and if the rule is too general there is a good chance you might cause the rule for an end tag to find a start tag for example. Then you end up with unfinished pairs and Studio will error.

Do you have an example of the sort of things you need to be protecting with tags?

Regards

Paul


 

rogerB  Identity Verified
Norway
Local time: 15:13
Member (2003)
English to Norwegian
+ ...
TOPIC STARTER
Tags Apr 2, 2014

Hi and thank you for your reply.

The text is littered with tags that are to be replaced at a later stage (after we have translated them), and they look like this:
%\h
%\q
%\p
%\s

and so on ...

Some of them are format identifiers, and some are place holders for merged text.

There are no opening and closing tags


 

SDL Community  Identity Verified
United Kingdom
Local time: 15:13
English
I guess... Apr 2, 2014

... a single placeable rule would do the trick then. Something like this based on your example:

%\\[a-z]

If it’s more complex than this feel free to drop me an email with an example file.

Regards

Paul
pfilkin@sdl.com


 

rogerB  Identity Verified
Norway
Local time: 15:13
Member (2003)
English to Norwegian
+ ...
TOPIC STARTER
Worked Apr 2, 2014

Thank you Paul

That worked like a charm!!


 


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


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

Tagging of standard TXT files

Advanced search







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 »
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 SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search