Need to find tabs in source text, Studio 2019
Аўтар тэмы: kd42
kd42
kd42
Эстонія
Local time: 13:25
англійская → руская
Oct 27, 2020

G'day,
A client sent in a job full of tabs.
If I split the segment at the tabs, I'll get a lot more consistent data.
Reading online help for F/R of Studio 2016 makes me think the developer is [censored].
Am I right thinking that it is impossible to find a tab in source text in Studio 2019?
Thank you.


 
Stepan Konev
Stepan Konev  Identity Verified
Расія
Local time: 13:25
англійская → руская
Questions Oct 27, 2020

What is F/R? What is Studio 2016? What is your purpose? Why do you need 'to find a tab'? Studio 2021 uses tabs for segmentation (it splits segments at the tab positions by default). Do you want to change this behavior for Studio to show tabs in the editor?

Try this video: https://www.youtube.com/watch?v=c2PiTvMvJ2k&feature=youtu.be

[Edited at 2020-10-27 21:
... See more
What is F/R? What is Studio 2016? What is your purpose? Why do you need 'to find a tab'? Studio 2021 uses tabs for segmentation (it splits segments at the tab positions by default). Do you want to change this behavior for Studio to show tabs in the editor?

Try this video: https://www.youtube.com/watch?v=c2PiTvMvJ2k&feature=youtu.be

[Edited at 2020-10-27 21:37 GMT]
Collapse


 
kd42
kd42
Эстонія
Local time: 13:25
англійская → руская
ПАЧЫНАЛЬНІК ТЭМЫ
Thank you for your questions Oct 28, 2020

F/R = find-replace
2016 is actually 2019, sorry
My purpose is to split segments at *every* tab, so manual, "human", search won't do.
I need to find a tab in order to split the segment at this tab.
All versions of Studio can segment by the tab, but only if you prepare the project yourself.
I don't have Studio 2121.
I don't want to change this behavior for Studio to show tabs in the editor.
Thank you for your video. The TM sits on a server, and I cannot ch
... See more
F/R = find-replace
2016 is actually 2019, sorry
My purpose is to split segments at *every* tab, so manual, "human", search won't do.
I need to find a tab in order to split the segment at this tab.
All versions of Studio can segment by the tab, but only if you prepare the project yourself.
I don't have Studio 2121.
I don't want to change this behavior for Studio to show tabs in the editor.
Thank you for your video. The TM sits on a server, and I cannot change any of its settings.

So, my question still is: how can I use Studio's Find/Replace feature to find a tab character in the source text?
Collapse


 
Lorenzo Bermejo
Lorenzo Bermejo
Local time: 12:25
англійская → іспанская
+ ...
Copy+paste Oct 28, 2020

Hi, I'd say there is an easy solution if I understood you well.
Just copy+paste the tab character from the Editor into the Search/Replace box.
The tab character won't display in the S/R box, but it's there for sure. I've tested what I explain.
Good luck.


Stepan Konev
 
Samuel Murray
Samuel Murray  Identity Verified
Нідэрланды
Local time: 12:25
Член (ад 2006)
англійская → афрыкаанс
+ ...
How about a dummy character? Oct 28, 2020

How about this: try to find a character that is not present anywhere in your SDLXLIFF file, e.g. a pipe | or a picture numeral e.g. ⓪, and then open the SDLXLIFF file in a Unicode aware text editor (e.g. Akelpad) and perform a find/replace operation to find all tabs (which in Akelpad is \t) with that dummy character. Then you can split by it. Then afterwards, don't forget to replace it with tabs again in the text editor.

 
Stepan Konev
Stepan Konev  Identity Verified
Расія
Local time: 13:25
англійская → руская
A minor addition Oct 28, 2020

In addition to the above suggestion by Lorenzo, you can filter all segments that contain tabs. Type \t in the filter field for source (Review tab). Also, you can use the same regex for searching with the 'Use regular expression' option checked.

 
Stepan Konev
Stepan Konev  Identity Verified
Расія
Local time: 13:25
англійская → руская
Workaround Oct 28, 2020

kd42 wrote:
The TM sits on a server, and I cannot change any of its settings.

But I think you still can create an empty TM for segmentation by bringing it to the top of TM list. In this case your file will be segmented against your TM and populated from your client's TM.
UPD. Ah, you have it already prepared by client. Ok, forget this message. Just use \t

[Edited at 2020-10-28 10:43 GMT]


 
kd42
kd42
Эстонія
Local time: 13:25
англійская → руская
ПАЧЫНАЛЬНІК ТЭМЫ
Solved Oct 28, 2020

Thanks a lot, everyone, for coming to my rescue, and especially Lorenzo who suggested the ideal solution.
It is nice to see that such great minds and generous people knock about Proz and share their wisdom with simpletons like myself. You made my day, folks! :^)


 
Lorenzo Bermejo
Lorenzo Bermejo
Local time: 12:25
англійская → іспанская
+ ...
Glad to be helpful Oct 29, 2020

kd42 wrote:

Thanks a lot, everyone, for coming to my rescue, and especially Lorenzo who suggested the ideal solution.
It is nice to see that such great minds and generous people knock about Proz and share their wisdom with simpletons like myself. You made my day, folks! :^)


👍👍 Big problems, simple solutions!


 


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


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

Need to find tabs in source text, Studio 2019







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 »
LinguaCore
AI Translation at Your Fingertips

The underlying LLM technology of LinguaCore offers AI translations of unprecedented quality. Quick and simple. Add a human linguistic review at the end for expert-level quality at a fraction of the cost and time.

More info »