Hi Yves, I have another challenge that I have to take care of now. I am pretty sure that with some clever filtering this can be done. I want to normalize and...
1925
sghetti1971
Apr 1, 2011 10:58 am
Hi, Solved this one by myself. Looks like I was able to use my custom filter to do this all along. Still don't know if it is the perfect solution though. ...
1926
Yves Savourel
yves_savourel
Apr 1, 2011 11:08 am
Hi Scott, ... That regex looks dangerous if you have quotes within the text. For example if you resource file looks like: str3="text with \" for str3" ...
1927
sghetti1971
Apr 1, 2011 12:07 pm
Hi Yves, I would like to know more. All Strings in the document I am using are offset by "" in the resource files ... I am parsing MS .rc files ... I'm going...
1928
Yves Savourel
yves_savourel
Apr 1, 2011 1:06 pm
... We have not ported the RC Filter in the Java-based Okapi tools (too little demand for that yet). But there is a filter for RC files in Rainbow v5 Using a...
1929
Didier Briel
didier_briel
Apr 1, 2011 1:16 pm
... Yes, OmegaT supports RC files since 2.1.3. The filter is not very complex, but not trivial either. I wouldn't try to do that with a single regexp (we're...
1930
yves_savourel
Apr 1, 2011 8:32 pm
Hi Chris, ... This problem is temporarily resolved. You may still have some issue with short stop words, but most of short words should be OK now. We will...
1931
Chris Collington
chris.collin...
Apr 2, 2011 7:36 am
Many thanks, I'll give it a go Monday Chris ________________________________ From: yves_savourel <yves@...> To: okapitools@yahoogroups.com Sent:...
1932
Yves Savourel
yves_savourel
Apr 2, 2011 2:46 pm
Hi everyone, The Milestone 11 of the Okapi tools is now available here: http://code.google.com/p/okapi/downloads/list Or from the wiki:...
1933
Jordi Serratosa
jordis.lists@...
Apr 3, 2011 9:44 am
Hi I was converting a .po to .tmx (Rainbow 0.11, Windows XP SP3) and the following was shown in Rainbow Log dialog: === Start process -- Input: /C:/ca.po ...
1934
Yves Savourel
yves_savourel
Apr 3, 2011 11:58 am
Hi Jordi, ... I'll try to improve that. ... msgid "" "Here is an example of how one might continue a very long string\n" "for the common case the string...
1935
Yves Savourel
yves_savourel
Apr 3, 2011 12:03 pm
... One question: I assume something like this: msgstr "botó" Is not ok. Right? -ys...
1936
Yves Savourel
yves_savourel
Apr 3, 2011 2:52 pm
... I've updated the PO filter to handle the cases like msgid "text" msgstr "text" Note that the output of that input will be: Msgid "" "text" Msgstr "" "text"...
1937
borubeats
Apr 4, 2011 7:57 pm
Hey Yves, New question for you. Is it possible to pre-populate my old TM (.txt) with placeholders for Framemaker objects? In other words, in the xlf (from...
1938
Yves Savourel
yves_savourel
Apr 4, 2011 8:43 pm
Hi Ian, ... It's probably related to how you add the codes in the .txt memory. If I recall well, your .txt file is like this: Source text 1 Target text 1 ...
1939
Ian Gallagher
borubeats
Apr 4, 2011 9:59 pm
Brillian Yves! Thanks so much. Actually, I ended up editing the Inline Codes a little differently. (Just <x> didn't seem to work). What did work was adding <x...
1940
Ian Gallagher
borubeats
Apr 5, 2011 7:18 pm
Hey Yves, I feel bad even asking for these, but are you good with regex? I need help doing a search and replace in my .txt memory. I'd certainly be happy to...
1941
Yves Savourel
yves_savourel
Apr 5, 2011 7:58 pm
Hi Ian, ... I'm average with regex. There is a very good site with tons of info and tools about regular expressions here: http://www.regular-expressions.info/....
1942
Ian Gallagher
borubeats
Apr 5, 2011 8:04 pm
Hey Yves, I understand. It's just that I know almost nothing about using regex. Thanks anyway for the help, Ian ... -- 646-316-8549...
1943
borubeats
Apr 5, 2011 9:43 pm
Hi, I'm translating a .txt, and when I run "Translation Package Creation" I want it to ignore certain lines. How do I do this? For example, any calling of a...
1944
Jean-Christophe Helary
jc_helary
Apr 5, 2011 10:06 pm
... Ian, Regex is really not that difficult. As Yves wrote there are plenty of lists when people can help you with that. But really, you should take some time...
1945
Yves Savourel
yves_savourel
Apr 5, 2011 10:10 pm
Hi Ian, ... That's correct: basically you can define inline codes for the parts of text you want to "protect". I'm afraid you have to use regex for those as...
1946
Jean-Christophe Helary
jc_helary
Apr 5, 2011 10:43 pm
... Ian, taking this example, here is what the regex mans: "The file blahbalh.tif is to be protected." ... \b is a word boundary ( and ) define a group . is...
1947
borubeats
Apr 6, 2011 4:49 pm
Hey guys, Thanks a lot for the help. What if the line I want to protect beings with a "$" ? Since $ usually means "end of line" in regex this is a problem. For...
1948
borubeats
Apr 6, 2011 4:55 pm
Sorry, rather, I want to protect all lines that BEGIN with "$If"....
1949
borubeats
Apr 6, 2011 5:28 pm
ah, I think i got it. Just need to add \. So, I'm using ^\$Endif.*?$\n? This is ignoring all lines beginning with "$Endif". Awesome....
1950
Yves Savourel
yves_savourel
Apr 6, 2011 7:08 pm
Hi Ian, ... Yes, you got it. To use a special character like $, ., (, etc. you simply escape it with \. -ys...
1951
borubeats
Apr 7, 2011 10:30 pm
Hi, Me again. :) Say, I've noticed that the resulting .mif.xlf doesn't contain Index marker entries. Is there any plan to deal with these markers, in some way?...
1952
Yves Savourel
yves_savourel
Apr 7, 2011 10:41 pm
Hi Ian, ... The index extraction in MIF was implemented the day before yesterday. You have to use the latest snapshot from here:...
1953
borubeats
Apr 7, 2011 10:47 pm
Amazing. Lesson learned: always use the latest snapshot. Thanks, Ian...