<div>Haa ya Ghoniem.. Working very quitely walla didn't get my point.. choose the simplest case to start with.. btw.. i tried today to read from utf8 file.. but failed in reading it although i defined the streams and everythign.. anyway..let me know what u did.. okay?!
</div>
<div> </div>
<div>Maha.<br><br> </div>
<div><span class="gmail_quote">On 8/30/05, <b class="gmail_sendername">Maha Helwa</b> <<a href="mailto:ms.helwa@gmail.com">ms.helwa@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Okay..Ghoniem... I want thinking in 2 ways that the output could:</div>
<div> </div>
<div>1. A List of objects of type..let's say localizedString class, this class has 3 members variables:</div>
<div>   - originalString of type String.</div>
<div>   - translatedString of type String.</div>
<div>   - stringOrder of type int; which indicates the string order at certain PO file; forth string or string number 44, string number 53,.. whatever.. it's a number will help us when we need to updatePO file again.</div>

<div> </div>
<div>Or the section option..</div>
<div>2. A text file named by module's name, and containing 3 column separated by tab, these 3 columns are the same member variable.. i mean..</div>
<div>string order          original Untranslated String       arabized translation      </div>
<div> </div>
<div>for example that text file would be something like that:</div>
<div>55          samba       خادم سامبا        </div>
<div>56          Domain       نطاق</div>
<div>57          Share       مشاركة</div>
<div> </div>
<div>With this option we can insert the data into db table using "LOAD DATA" statement instead of looping on each string and use "Insert" statement..</div>
<div> </div>
<div>Anyway..which option you prefer ghoniem..or you have another approach?!</div>
<div>You can start by making a class that deals only with utf-8 files.. got methods like reading from utf-8 file..write into utf-8 file.. read file header.. and try to read a single entry; msgid and msgstr, flags fuzzness of this string.. 
</div>
<div>BTW... thanks sherif for the url .. that's exactly what am looking for.. PO Formatting..</div>
<div> </div>
<div>THat's it for now..</div>
<div>Maha.</div>
<div> </div>
<div> </div>
<div>So.. let's start..:))</div>
<div><span class="e" id="q_10608d6b0e431854_1">
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div><span class="gmail_quote">On 8/30/05, <b class="gmail_sendername">Mohammad Ghoniem</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mohammad.ghoniem@univ-ubs.fr" target="_blank">mohammad.ghoniem@univ-ubs.fr
</a>> wrote:</span></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Salâms,<br><br>Maha Helwa a écrit :<br><br>> Yareet had yerod.. sherif..what do think?! shall i do it in this way?! 
<br>> FYI.. i did not read the source of kbabel yet.. i get shocked when i<br>> tried to look for a piece of code that reads the strings from PO<br>> file..which is doing what?! i get lost and frustrated after this try.. 
<br>> i don't remember C.. what a shame!!<br><br>Maha, I can write a piece of java code that parses po files. What type<br>of output do you need ? an array of strings ?<br><br>Salâm<br><br>Mohammad<br><br>--<br>Fedora-trans-ar mailing list 
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Fedora-trans-ar@redhat.com" target="_blank">Fedora-trans-ar@redhat.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.redhat.com/mailman/listinfo/fedora-trans-ar" target="_blank">
http://www.redhat.com/mailman/listinfo/fedora-trans-ar</a><br></blockquote></div><br></span></div></blockquote></div><br>