Support forum of the software localization tool Sisulizer


Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
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 ...
AuthorPost
 Posted: Thu Jul 19th, 2007 05:41 pm
PM Quote Reply
Arthur
Member
 

Joined: Fri Jun 29th, 2007
Location:  
Posts: 6
Status: 
Offline
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
KADRMAX|Maximum address   : |MAXADR
KADRMIN|Minimum address   : |MINADR
KADRPABX|PABX sub-address|PABXSUA
KADRRES|Network address  : |ADDRESS


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

Back To Top PM Quote Reply

 Posted: Thu Jul 19th, 2007 05:56 pm
PM Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Bedburg, Germany
Posts: 831
Status: 
Offline
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
Back To Top PM Quote Reply

 Posted: Fri Jul 20th, 2007 10:27 am
PM Quote Reply
Arthur
Member
 

Joined: Fri Jun 29th, 2007
Location:  
Posts: 6
Status: 
Offline
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

Back To Top PM Quote Reply

 Posted: Fri Jul 20th, 2007 11:00 am
PM Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Bedburg, Germany
Posts: 831
Status: 
Offline
Hi Arthur,

we are fast. We speek about days here :-)

Best

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Quote Reply

 Posted: Wed Aug 8th, 2007 06:39 am
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Online
1.6.0 is available
http://www.sisulizer.com/downloads.shtml

Jaakko



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Quote Reply

 Posted: Wed Aug 8th, 2007 12:22 pm
PM Quote Reply
Arthur
Member
 

Joined: Fri Jun 29th, 2007
Location:  
Posts: 6
Status: 
Offline
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

 

[French]

ID_STRING_TOBE_EXTRACTED="Stuff to be extracted"

 



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)

Back To Top PM Quote Reply

 Posted: Wed Aug 8th, 2007 12:22 pm
PM Quote Reply
Arthur
Member
 

Joined: Fri Jun 29th, 2007
Location:  
Posts: 6
Status: 
Offline
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

 

[French]

ID_STRING_TOBE_EXTRACTED="Stuff to be extracted"

 



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)

Back To Top PM Quote Reply

 Posted: Wed Aug 8th, 2007 12:33 pm
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Online
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
Back To Top PM Quote Reply

 Posted: Thu Aug 9th, 2007 10:51 am
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Online
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
Back To Top PM Quote Reply

 Posted: Thu Aug 9th, 2007 10:55 am
PM Quote Reply
Arthur
Member
 

Joined: Fri Jun 29th, 2007
Location:  
Posts: 6
Status: 
Offline
Ok thank you very much Jaakko ! :)

Back To Top PM Quote Reply

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



WowUltra 1.11 Copyright © 2007 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize