<br><br>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>> Ghoniem.. Sorry :)) didn't see last code version.. just run first<br>> one.. hmmm..<br><br>hmmm :)
</blockquote>
<div> </div>
<div>:)) sorry i'll do it soon isA..</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> but i notice something want to ask u about it..  i did see at some<br>> headers of POEntities "python-format" it's not fuzzy flag..
<br><br>There are several kinds of comments in PO files, according to<br><a href="http://www.gnu.org/software/gettext/manual/html_node/gettext_9.html">http://www.gnu.org/software/gettext/manual/html_node/gettext_9.html</a>
  :<br>1- translator's comments<br>2- automatic comments<br>3- flags (like "fuzzy")<br>4- references</blockquote>
<div> </div>
<div>When this automated comments generated?! do we have to generate it or keep it's values as it is.. unchanged?!</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> does this kind of header really matter.. do we have to skip it!! it's<br>> not a user comment.. but don't know if we skip it does this means
<br>> corrupting po file.. do get my point...<br><br>We should keep everything we find in PO files. Our job is translation. :-)<br><br>Therefore, all we can do is :<br>- add translator's comments<br>-modify flags<br><br>
We must not modify/delete references nor flags imho.</blockquote>
<div> </div>
<div>I agree with u.. i didn't clarify my point quite well.. i mean the others; references we will not modify them.. shall we keep them in db or left them in PO file?..in other words.. while modify an already existing po file.. we will just modify the translation itself, write the status of the string; fuzzy flag;  whether or not the string is fuzzy or not..or add new user comment or modify it.. we won't touch the references.. it's static data.. the question is:
</div>
<div>Which better we left such data;references and the file header in file, or we should store it in db like any other data; msgID & msgStr ?</div>
<div>Got my point ?!</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> why dont' u try to create po file or update an already existing one..<br>> Using POFile & POMessages objects.. or did u already do it :))
<br><br>In the demo you received, the contents of po files are printed in the<br>command-line (System.out), which works the same way as any java<br>OutputStream, including files.</blockquote>
<div> </div>
<div> </div>
<div>Yes right.. but arabic letters didn't displayed correctly because u used console.. but propebly it will.. u adjust the encoding to be utf-8..</div>
<div> </div>
<div>Ghoneim why dont' u try to change a string in PO File..  write into PO file?!</div><br>Thanks</div>
<div>BR,</div>
<div>-Maha.</div>