[Fedora-trans-ar] .PO &.txt?.. what makes PO Very Special!!

Maha Helwa ms.helwa at gmail.com
Wed Aug 31 23:20:20 UTC 2005


Sure :).. Very interesting if we could generalize it..but for the time being 
.. i hope we have a mini-tool we can use it soon on arbic fedora web 
site...isA.. 2d3oli 2a3rf angez :))
 Desoky.. enta metab3 ahoo.. 2omal saket leeh?! haa .. khalast kam string 
inharda?! ::))
 Maha.
 On 8/31/05, Mohamed Eldesoky <m.eldesoky at tedata.net> wrote: 
> 
> Interesting.
> You can even take into account to make it work with any other language, so 
> let
> it be the Arabs gift to other fedora translators :-)
> Even you may choose an Arabic name for that application :-)
> 
> 
> On Tuesday 30 August 2005 10:21 pm, Maha Helwa wrote:
> > Okay..Ghoniem... I want thinking in 2 ways that the output could:
> > 1. A List of objects of type..let's say localizedString class, this 
> class
> > has 3 members variables:
> > - originalString of type String.
> > - translatedString of type String.
> > - 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.
> > Or the section option..
> > 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..
> > string order original Untranslated String arabized translation
> > for example that text file would be something like that:
> > 55 samba ط(r)ط§ط¯ظ… ط³ط§ظ…ط¨ط§
> > 56 Domain ظ†ط·ط§ظ‚
> > 57 Share ظ…ط´ط§ط±ظƒط(c)
> > 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..
> > Anyway..which option you prefer ghoniem..or you have another approach?!
> > 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..
> > BTW... thanks sherif for the url .. that's exactly what am looking for.. 
> PO
> > Formatting..
> > THat's it for now..
> > Maha.
> > So.. let's start..:))
> >
> > On 8/30/05, Mohammad Ghoniem <mohammad.ghoniem at univ-ubs.fr> wrote:
> > > Salأ¢ms,
> > >
> > > Maha Helwa a أ(c)crit :
> > > > Yareet had yerod.. sherif..what do think?! shall i do it in this 
> way?!
> > > > FYI.. i did not read the source of kbabel yet.. i get shocked when i
> > > > tried to look for a piece of code that reads the strings from PO
> > > > file..which is doing what?! i get lost and frustrated after this 
> try..
> > > > i don't remember C.. what a shame!!
> > >
> > > Maha, I can write a piece of java code that parses po files. What type
> > > of output do you need ? an array of strings ?
> > >
> > > Salأ¢m
> > >
> > > Mohammad
> > >
> > > --
> > > Fedora-trans-ar mailing list
> > > Fedora-trans-ar at redhat.com
> > > http://www.redhat.com/mailman/listinfo/fedora-trans-ar
> 
> --
> Mohamed Eldesoky
> Systems Engineer
> RedHat Certified Engineer
> TE Data
> 
> --
> Fedora-trans-ar mailing list
> Fedora-trans-ar at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-trans-ar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-trans-ar/attachments/20050901/d7b486f4/attachment.htm>


More information about the Fedora-trans-ar mailing list