How does the "line limit" feature in the TXT filter work?
Thread poster: Samuel Murray

Samuel Murray  Identity Verified
Netherlands
Local time: 05:19
Member (2006)
English to Afrikaans
+ ...
Sep 11, 2014

Hello everyone

I notice that the current version of OmegaT (3.1.5) contains a feature in the TXT filter that limits line length in the target file. However, I've tried it and it it doesn't affect the line length in the target file at all. What are the usage instructions for this feature?

I tried "10" and "50" as values. My source text is:

The rain in Spain. The Rain in Spain.The rain in Spain. The Rain in Spain.

My target text is:

asdfThe rain in Spain. asdfThe Rain in Spain.The rain in Spain. asdfThe Rain in Spain.

I expected this (for 50):

asdfThe rain in Spain. asdfThe Rain in Spain.The
rain in Spain. asdfThe Rain in Spain.


Thanks
Samuel


 

Didier Briel  Identity Verified
France
Local time: 05:19
Member (2007)
English to French
+ ...
Link to description of the feature is in changes.txt Sep 12, 2014

Samuel Murray wrote:
I notice that the current version of OmegaT (3.1.5) contains a feature in the TXT filter that limits line length in the target file.

It's there since 3.1.0.
However, I've tried it and it it doesn't affect the line length in the target file at all. What are the usage instructions for this feature?

As always, a link to the description of the feature is in changes.txt (Help > Last changes).
3.1.0 vs. 3.0.8 update 5
Limit line length of target text files
https://sourceforge.net/p/omegat/feature-requests/985/

Basically, "Line length" tells where the line could started to be cut, and "Max line length" gives the hard limit.

I tried "10" and "50" as values. My source text is:

The rain in Spain. The Rain in Spain.The rain in Spain. The Rain in Spain.

My target text is:

asdfThe rain in Spain. asdfThe Rain in Spain.The rain in Spain. asdfThe Rain in Spain.

I expected this (for 50):

asdfThe rain in Spain. asdfThe Rain in Spain.The
rain in Spain. asdfThe Rain in Spain.


It could have been
asdfThe rain
in Spain asdfThe

etc. (otherwise, use 50 and 50).

You have found a bug, which seems to be triggered by the fact that your test is only a single line. I will report the bug.
If you test with a more usual text file (containing several lines), you should see that the target file is closer to what you expect.

Didier


 

Samuel Murray  Identity Verified
Netherlands
Local time: 05:19
Member (2006)
English to Afrikaans
+ ...
TOPIC STARTER
@Didier Sep 12, 2014

Didier Briel wrote:
Samuel Murray wrote:
I notice that the current version of OmegaT (3.1.5) contains a feature in the TXT filter that limits line length in the target file.

It's there since 3.1.0.


Thanks. I haven't installed a new version for a while, so now I'm working my way through the changes.txt file to see what new features are available.

What are the usage instructions for this feature?

As always, a link to the description of the feature is in changes.txt (Help > Last changes).
3.1.0 vs. 3.0.8 update 5
Limit line length of target text files
https://sourceforge.net/p/omegat/feature-requests/985/


Thanks. I am using the changes.txt file but the actual request number isn't always included in the feature change comment (perhaps I should just have read the file further down).

You have found a bug, which seems to be triggered by the fact that your test is only a single line.


I'm a lazy tester... I often begin testing a new feature with as little effort as possible, and that usually means testing it with the shortest possible text that would theoretically trigger the feature.

==

Samuel Murray wrote:
I tried "10" and "50" as values.


I just realised that this is ambiguous. I tried 10 and 10 first, and when that didn't do anything, I tried 50 and 50, thinking that 10 may be under some kind of threshold.



[Edited at 2014-09-12 08:09 GMT]


 

Didier Briel  Identity Verified
France
Local time: 05:19
Member (2007)
English to French
+ ...
Bug is now fixed Sep 15, 2014

Didier Briel wrote:
You have found a bug, which seems to be triggered by the fact that your test is only a single line. I will report the bug.

The bug is now fixed:
Line length limit doesn't work on one line text files

The fix will appear in the next release of the Latest version.

Didier


 


There is no moderator assigned specifically to this forum.
To report site rules violations or get help, please contact site staff »


How does the "line limit" feature in the TXT filter work?

Advanced search






SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running, helps experienced users make the most of the powerful features, ensures new

More info »
SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running and helps experienced users make the most of the powerful features.

More info »



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