|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| Text File Parser - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
Arthur Member
|
Hello everyone, I'm testing the Evaluation Entreprise version of SISULIZER. I have a problem when it comes to extract strings from text files. I work on a text file which structure is
In other words it goes like that : STUFF NOT TO TRANSLATE | String to extract | STUFF NOT TO TRANSLATE My problem is that I simply don't manage to specify this rule to the parser! Please Help Arthur
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Arthur, the next build 1.5.19 to be released very soon will have a great set of new possibilities for text files. You will be able to use regular expressions to the max to for splittig text files. Our developers are just finishing the documentation so you can make good use from it. The next build is defenitly what you are looking for! Please be a little bit patient :-) Best Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Arthur Member
|
Ok Markus, that's good news. How long should it take until the release? Are we talking of days? weeks? months? I'm looking forward to testing it anyhow!! Thanks for the reply Arthur
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Arthur, we are fast. We speek about days here :-) Best Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
1.6.0 is available http://www.sisulizer.com/downloads.shtml Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Arthur Member
|
Hello everyone, I've just installed the new release (1.6.0) and I have a question about the changes concerning the text file parser. I don't really get the logic of the " Before Item " and "After Item" rules. Are these rules supposed to be written with regular expressions? If so, assuming that I'm dealin with a text file whose structure is like displayed behind
what should I type to extract the string between quotes and its ID? Because I've tried a lot of possibilities and the tester keeps displaying " dummy" with nothing after. So I'm guessin' my extraction rules might be wrong ! I join a sample of the file, if it helps... Thank you for your attention. Best, Attachment: sample.txt (Downloaded 1 time)
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Arthur Member
|
Hello everyone, I've just installed the new release (1.6.0) and I have a question about the changes concerning the text file parser. I don't really get the logic of the " Before Item " and "After Item" rules. Are these rules supposed to be written with regular expressions? If so, assuming that I'm dealin with a text file whose structure is like displayed behind
what should I type to extract the string between quotes and its ID? Because I've tried a lot of possibilities and the tester keeps displaying " dummy" with nothing after. So I'm guessin' my extraction rules might be wrong ! I join a sample of the file, if it helps... Thank you for your attention. Best, Attachment: sample.txt (Downloaded 0 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
The idea of the new text scanning is to use regualer expressions. Each item contains either context, text or comment. Before item contains regular expression before the item and After item describes teh string patter after. For example ID_STRING_TOBE_EXTRACTED="Stuff to be extracted" Whould have two items 1) Context: Before: , After: 2) Text: Before: =", After: "\r\n Having the section line ([French]) will make regular expression a little bit harder because you have to add Before item to #1 that will either accept empty pattern or a line having [...] Your file format is very close to .ini format. It might be better to use Ini scanner instead of Text scanner. unfortunately Ini scanner does not remove " characters. I will test this and give you the right regular expressions to scan the file. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
I improved INI file scanner such way that it can localize your files. Ini scanner in 1.6.1 supports quoted and escaped strings. The new build will come out very soon. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Arthur Member
|
Ok thank you very much Jaakko !
|
|||||||||||||
| ||||||||||||||
| Current time is 11:07 pm | |
| Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Text File Parser | |
Sisulizer software localization tool - Three simple steps to localize